diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-11 23:49:46 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-11 23:49:46 +0200 |
commit | 737d57cbae2f78f6dc1c40593e5db4236d0709f5 (patch) | |
tree | 13b8cd6b5efefaef366a7cc39dba586347a027d5 /common/storage.h | |
parent | 5e590a4729b20751d27cb9e9f8af8b512d93c6ed (diff) | |
download | sink-737d57cbae2f78f6dc1c40593e5db4236d0709f5.tar.gz sink-737d57cbae2f78f6dc1c40593e5db4236d0709f5.zip |
Default errorhandler like everywhere else
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 f9a207f..fb44c1c 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -68,7 +68,7 @@ public: | |||
68 | * Remove a value | 68 | * Remove a value |
69 | */ | 69 | */ |
70 | void remove(const QByteArray &key, | 70 | void remove(const QByteArray &key, |
71 | const std::function<void(const Storage::Error &error)> &errorHandler); | 71 | const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>()); |
72 | /** | 72 | /** |
73 | * Read values with a given key. | 73 | * Read values with a given key. |
74 | * | 74 | * |