From fb3f7e20c1cdeb944dff3c8ca9f48dc6450c9ebb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 30 Oct 2015 09:38:57 +0100 Subject: Get this remove/re-add dance finally sorted out for good Change-Id: I16cb3fdd699dcd45de25b49d30e0d1b6392fd82b --- configmgr/source/modifications.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configmgr') diff --git a/configmgr/source/modifications.hxx b/configmgr/source/modifications.hxx index dde84522edc4..5549e14a4d7c 100644 --- a/configmgr/source/modifications.hxx +++ b/configmgr/source/modifications.hxx @@ -24,8 +24,9 @@ #include -#include "path.hxx" +#include +#include "path.hxx" namespace configmgr { @@ -45,6 +46,10 @@ public: void remove(Path const & path); +#if ENABLE_DCONF + void clear() { root_.children.clear(); } +#endif + bool empty() const { return root_.children.empty(); } Node const & getRoot() const { return root_;} -- cgit