summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/storage.h')
-rw-r--r--common/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage.h b/common/storage.h
index 6cfa3d6..6ae7838 100644
--- a/common/storage.h
+++ b/common/storage.h
@@ -52,7 +52,7 @@ public:
52 //TODO: row removal 52 //TODO: row removal
53 //TODO: cursor based read 53 //TODO: cursor based read
54 //TODO: query? 54 //TODO: query?
55 bool write(const char *key, size_t keySize, const char *value, size_t valueSize); 55 bool write(void const *key, size_t keySize, void const *value, size_t valueSize);
56 bool write(const std::string &sKey, const std::string &sValue); 56 bool write(const std::string &sKey, const std::string &sValue);
57 void read(const std::string &sKey, 57 void read(const std::string &sKey,
58 const std::function<bool(const std::string &value)> &resultHandler); 58 const std::function<bool(const std::string &value)> &resultHandler);