error: fix compile error on windows with depends

state_not_recoverable is not defined there
This commit is contained in:
moneromooo-monero 2019-05-02 10:13:13 +00:00
parent 581994b61c
commit d47292eb3d
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -55,7 +55,7 @@ namespace {
break; // map to nothing generic
case MDB_PAGE_NOTFOUND:
case MDB_CORRUPTED:
return std::errc::state_not_recoverable;
return std::errc::bad_address;
case MDB_PANIC:
case MDB_VERSION_MISMATCH:
case MDB_INVALID: