Merge pull request #5512

d47292e error: fix compile error on windows with depends (moneromooo-monero)
This commit is contained in:
luigi1111 2019-05-14 15:51:14 -05:00
commit 266f68be32
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 1 additions and 1 deletions

View File

@ -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: