diff options
Diffstat (limited to 'common/storage_lmdb.cpp')
-rw-r--r-- | common/storage_lmdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage_lmdb.cpp b/common/storage_lmdb.cpp index 230409f..d3c52b7 100644 --- a/common/storage_lmdb.cpp +++ b/common/storage_lmdb.cpp | |||
@@ -165,7 +165,7 @@ bool Storage::Transaction::write(const QByteArray &sKey, const QByteArray &sValu | |||
165 | 165 | ||
166 | int Storage::Transaction::scan(const QByteArray &k, | 166 | int Storage::Transaction::scan(const QByteArray &k, |
167 | const std::function<bool(const QByteArray &key, const QByteArray &value)> &resultHandler, | 167 | const std::function<bool(const QByteArray &key, const QByteArray &value)> &resultHandler, |
168 | const std::function<void(const Storage::Error &error)> &errorHandler) | 168 | const std::function<void(const Storage::Error &error)> &errorHandler) const |
169 | { | 169 | { |
170 | if (!d || !d->transaction) { | 170 | if (!d || !d->transaction) { |
171 | Error error(d->name.toLatin1(), ErrorCodes::NotOpen, "Not open"); | 171 | Error error(d->name.toLatin1(), ErrorCodes::NotOpen, "Not open"); |