aboutsummaryrefslogtreecommitdiffhomepage
path: root/tddb/td/db/SqliteKeyValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tddb/td/db/SqliteKeyValue.cpp')
-rw-r--r--tddb/td/db/SqliteKeyValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tddb/td/db/SqliteKeyValue.cpp b/tddb/td/db/SqliteKeyValue.cpp
index 69f6da3e0..cee5994c5 100644
--- a/tddb/td/db/SqliteKeyValue.cpp
+++ b/tddb/td/db/SqliteKeyValue.cpp
@@ -75,7 +75,7 @@ string SqliteKeyValue::get(Slice key) {
get_stmt_.bind_blob(1, key).ensure();
get_stmt_.step().ensure();
if (!get_stmt_.has_row()) {
- return "";
+ return string();
}
auto data = get_stmt_.view_blob(0).str();
get_stmt_.step().ignore();