diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-17 14:29:15 +0200 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-17 15:01:45 +0200 | 
| commit | 973a5536a0c2db9406f9092647f27df7b400d97c (patch) | |
| tree | c3fab9e3f3a2dc9d412193b5e54c241b05f44e32 /options | |
| parent | 069664aaa8fef4b4fb455f0a120851b220d39842 (diff) | |
options/bundle: konst korrektness
Diffstat (limited to 'options')
| -rw-r--r-- | options/bundle.hpp | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/options/bundle.hpp b/options/bundle.hpp index 27d1208a..8af25433 100644 --- a/options/bundle.hpp +++ b/options/bundle.hpp @@ -45,6 +45,8 @@ private:      group transient;      bundle(const bundle&) = delete; +    bundle(bundle&&) = delete; +    bundle& operator=(bundle&&) = delete;      bundle& operator=(const bundle&) = delete;      QMutex* get_mtx() const override; @@ -55,7 +57,7 @@ signals:  public:      bundle(const QString& group_name);      ~bundle() override; -    QString name() { return group_name; } +    QString name() const { return group_name; }      void reload(std::shared_ptr<QSettings> settings = group::ini_file());      void store_kv(const QString& name, const QVariant& datum);      bool contains(const QString& name) const;  | 
