summaryrefslogtreecommitdiffstats
path: root/src/preferences.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/preferences.h')
-rw-r--r--src/preferences.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preferences.h b/src/preferences.h
index 2f2337b81..0c37be24b 100644
--- a/src/preferences.h
+++ b/src/preferences.h
@@ -109,6 +109,7 @@ public:
friend class Preferences; // Preferences class has to access _value
public:
~Entry() {}
+ Entry() : _pref_path(""), _value(NULL) {} // needed to enable use in maps
Entry(Entry const &other) : _pref_path(other._pref_path), _value(other._value) {}
/**
* @brief Check whether the received entry is valid.