Skip to content

Commit

Permalink
error: fix compile error on windows with depends
Browse files Browse the repository at this point in the history
state_not_recoverable is not defined there
  • Loading branch information
moneromooo-monero committed May 2, 2019
1 parent 581994b commit d47292e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lmdb/error.cpp
Expand Up @@ -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:
Expand Down

0 comments on commit d47292e

Please sign in to comment.