summaryrefslogtreecommitdiffhomepage
path: root/options/base-value.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:20:56 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:20:56 +0200
commit90940a774eab876c38d5cef981b4be5bae67a462 (patch)
tree2e60edc1719ffd53752a55a7f0444166965e90c5 /options/base-value.cpp
parente3292e1ddaa8d69eb320d2700fc582b4675cf8ce (diff)
modernize only
Diffstat (limited to 'options/base-value.cpp')
-rw-r--r--options/base-value.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/options/base-value.cpp b/options/base-value.cpp
index d900ad0f..bcbbd1dc 100644
--- a/options/base-value.cpp
+++ b/options/base-value.cpp
@@ -2,7 +2,7 @@
using namespace options;
-value_::value_(bundle b, const QString& name, value_::comparator cmp, std::type_index type_idx) :
+value_::value_(bundle const& b, const QString& name, value_::comparator cmp, std::type_index type_idx) :
b(b),
self_name(name),
cmp(cmp),
@@ -21,11 +21,6 @@ void value_::notify() const
bundle_value_changed();
}
-void value_::store(const QVariant& datum)
-{
- b->store_kv(self_name, datum);
-}
-
namespace options::detail {
void set_base_value_to_default(value_* val)