mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
error: fix compile error on windows with depends
state_not_recoverable is not defined there
This commit is contained in:
parent
581994b61c
commit
d47292eb3d
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ namespace {
|
||||||
break; // map to nothing generic
|
break; // map to nothing generic
|
||||||
case MDB_PAGE_NOTFOUND:
|
case MDB_PAGE_NOTFOUND:
|
||||||
case MDB_CORRUPTED:
|
case MDB_CORRUPTED:
|
||||||
return std::errc::state_not_recoverable;
|
return std::errc::bad_address;
|
||||||
case MDB_PANIC:
|
case MDB_PANIC:
|
||||||
case MDB_VERSION_MISMATCH:
|
case MDB_VERSION_MISMATCH:
|
||||||
case MDB_INVALID:
|
case MDB_INVALID:
|
||||||
|
|
Loading…
Reference in a new issue