diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-01 14:10:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-01 14:10:43 +0200 |
commit | 2ba0864137c2c3c1f2da4a84c81f269fc7dd2098 (patch) | |
tree | 16492ad4d3c6960d2fa204844efaa63a7983da0d /configmgr/source/modifications.hxx | |
parent | 33a7c0d088fe4f4114dc722ba29162ba5c8dce1d (diff) |
Revert function removal that breaks --enable-dconf
...from 58aea3f36c14414f95668e229a7350598f6c53a8 "loplugin:unusedmethods"
Change-Id: I2b218ca01589f3d2efd583aa4e5fb21d19d6319e
Diffstat (limited to 'configmgr/source/modifications.hxx')
-rw-r--r-- | configmgr/source/modifications.hxx | 2 |
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_;} |