Skip to content
Permalink
Browse files

error: fix compile error on windows with depends

state_not_recoverable is not defined there
  • Loading branch information...
moneromooo-monero committed May 2, 2019
1 parent 581994b commit d47292eb3d4cd1433c20a290340f0350d38ec571
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lmdb/error.cpp
@@ -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:

0 comments on commit d47292e

Please sign in to comment.
You can’t perform that action at this time.