diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-02 10:13:13 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-02 10:14:09 +0000 |
commit | d47292eb3d4cd1433c20a290340f0350d38ec571 (patch) | |
tree | 14022c8662efce8726790dc9ef09cd435ac5b00b | |
parent | Merge pull request #5486 (diff) | |
download | monero-d47292eb3d4cd1433c20a290340f0350d38ec571.tar.xz |
error: fix compile error on windows with depends
state_not_recoverable is not defined there
-rw-r--r-- | src/lmdb/error.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lmdb/error.cpp b/src/lmdb/error.cpp index 359677064..91479521e 100644 --- a/src/lmdb/error.cpp +++ b/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: |