summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-01 14:10:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-01 14:10:43 +0200
commit2ba0864137c2c3c1f2da4a84c81f269fc7dd2098 (patch)
tree16492ad4d3c6960d2fa204844efaa63a7983da0d /configmgr
parent33a7c0d088fe4f4114dc722ba29162ba5c8dce1d (diff)
Revert function removal that breaks --enable-dconf
...from 58aea3f36c14414f95668e229a7350598f6c53a8 "loplugin:unusedmethods" Change-Id: I2b218ca01589f3d2efd583aa4e5fb21d19d6319e
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/modifications.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/configmgr/source/modifications.hxx b/configmgr/source/modifications.hxx
index 04ad5c34d72e..098992d08fd5 100644
--- a/configmgr/source/modifications.hxx
+++ b/configmgr/source/modifications.hxx
@@ -45,6 +45,8 @@ public:
void remove(Path const & path);
+ void clear() { root_.children.clear(); }
+
bool empty() const { return root_.children.empty(); }
Node const & getRoot() const { return root_;}