summaryrefslogtreecommitdiffstats
path: root/src/preferences.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2008-12-08 20:29:12 +0000
committertweenk <tweenk@users.sourceforge.net>2008-12-08 20:29:12 +0000
commit28ecf041ee20b4455b68ecfa31e988640d7230ab (patch)
tree68923c1ed78d7d0c4f5b5d38441bb9bfe9298e08 /src/preferences.h
parentMakes page-sizer be a little less eager to change the orientation of pages au... (diff)
downloadinkscape-28ecf041ee20b4455b68ecfa31e988640d7230ab.tar.gz
inkscape-28ecf041ee20b4455b68ecfa31e988640d7230ab.zip
"make check" now compiles and runs on Linux.
(bzr r6973)
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.