diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-02 00:26:14 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-02 00:26:14 +0100 |
commit | 19d2b71aa8f385fee0c4cd3aa9fdf4f2f3279749 (patch) | |
tree | 632d75ea7d1663ff003a312989704e1d2fc6e8df /options/bundle.hpp | |
parent | f5ce4029d6f5c0659eba8dedbd5238527867460b (diff) |
options: consistently use rvalue references
Diffstat (limited to 'options/bundle.hpp')
-rw-r--r-- | options/bundle.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options/bundle.hpp b/options/bundle.hpp index c1bb716d..dec7c340 100644 --- a/options/bundle.hpp +++ b/options/bundle.hpp @@ -69,6 +69,7 @@ public: explicit bundle(const QString& group_name); ~bundle() override; + void store_kv(const QString& name, QVariant&& datum); void store_kv(const QString& name, const QVariant& datum); bool contains(const QString& name) const; @@ -90,8 +91,7 @@ struct OTR_OPTIONS_EXPORT bundler final static void notify(); static void reload_no_notify(); - - void reload(); + static void reload(); private: QMutex implsgl_mtx { QMutex::Recursive }; |