summaryrefslogtreecommitdiffstats
path: root/common/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/index.cpp')
-rw-r--r--common/index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/index.cpp b/common/index.cpp
index 725c28b..a4641bc 100644
--- a/common/index.cpp
+++ b/common/index.cpp
@@ -48,6 +48,6 @@ QByteArray Index::lookup(const QByteArray &key)
48{ 48{
49 QByteArray result; 49 QByteArray result;
50 //We have to create a deep copy, otherwise the returned data may become invalid when the transaction ends. 50 //We have to create a deep copy, otherwise the returned data may become invalid when the transaction ends.
51 lookup(key, [&](const QByteArray &value) { result = QByteArray(value.constData(), value.size()); }, [this](const Index::Error &) { }); 51 lookup(key, [&](const QByteArray &value) { result = QByteArray(value.constData(), value.size()); }, [](const Index::Error &) { });
52 return result; 52 return result;
53} 53}