From 2ba0864137c2c3c1f2da4a84c81f269fc7dd2098 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 1 Oct 2015 14:10:43 +0200 Subject: Revert function removal that breaks --enable-dconf ...from 58aea3f36c14414f95668e229a7350598f6c53a8 "loplugin:unusedmethods" Change-Id: I2b218ca01589f3d2efd583aa4e5fb21d19d6319e --- configmgr/source/modifications.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configmgr') 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_;} -- cgit