diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 13:06:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 13:06:35 +0200 |
commit | 033ce593af9b1505c804930c84297f1da26858c4 (patch) | |
tree | db3faf35bc9632b3a59f3c76ede46a16aadbec9f /configmgr/source/modifications.hxx | |
parent | 1e8b7cdbbd084a1e75f82bfff605321c8480b78d (diff) |
Simplify hasModifications check
Change-Id: Idcbd9a20ab13d0717f8728673e2c55e87aa92be4
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 71e06ea8f178..04ad5c34d72e 100644 --- a/configmgr/source/modifications.hxx +++ b/configmgr/source/modifications.hxx @@ -45,6 +45,8 @@ public: void remove(Path const & path); + bool empty() const { return root_.children.empty(); } + Node const & getRoot() const { return root_;} private: |