aboutsummaryrefslogtreecommitdiff
path: root/src/lmdb/error.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-02 10:13:13 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-02 10:14:09 +0000
commitd47292eb3d4cd1433c20a290340f0350d38ec571 (patch)
tree14022c8662efce8726790dc9ef09cd435ac5b00b /src/lmdb/error.cpp
parentMerge pull request #5486 (diff)
downloadmonero-d47292eb3d4cd1433c20a290340f0350d38ec571.tar.xz
error: fix compile error on windows with depends
state_not_recoverable is not defined there
Diffstat (limited to 'src/lmdb/error.cpp')
-rw-r--r--src/lmdb/error.cpp2
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: