diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-02-09 12:55:38 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-02-09 12:55:38 +0100 |
commit | d2fe5b77e1a0a4931657f5921e7eff099b211c70 (patch) | |
tree | 3fdd6a804c52fe8c63a663a2ff74c677e44aff17 /common/storage.h | |
parent | 38afbed3704c5d21db26758d9ce78078710abaa8 (diff) | |
download | sink-d2fe5b77e1a0a4931657f5921e7eff099b211c70.tar.gz sink-d2fe5b77e1a0a4931657f5921e7eff099b211c70.zip |
void const -> const void
equivalent syntax, but follows the standard idiom we use throughout
the code .. const char *, not char const * (e.g.)
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage.h b/common/storage.h index d8378e2..099b45f 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(void const *key, size_t keySize, void const *value, size_t valueSize); | 55 | bool write(const void *key, size_t keySize, const void *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); |