summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/settings.h b/src/settings.h
index 4c128b7b8..e01e86475 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -72,7 +72,7 @@ struct ValueSpec {
};
struct SettingsEntry {
- SettingsEntry() {}
+ SettingsEntry() = default;
SettingsEntry(const std::string &value_) :
value(value_)
@@ -92,7 +92,8 @@ typedef std::unordered_map<std::string, SettingsEntry> SettingEntries;
class Settings {
public:
- Settings() {}
+ Settings() = default;
+
~Settings();
Settings & operator += (const Settings &other);