summaryrefslogtreecommitdiff
path: root/configmgr/source/partial.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/partial.cxx')
-rw-r--r--configmgr/source/partial.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/partial.cxx b/configmgr/source/partial.cxx
index 3b39b6edddba..d0ba41aba1ee 100644
--- a/configmgr/source/partial.cxx
+++ b/configmgr/source/partial.cxx
@@ -109,7 +109,7 @@ Partial::Partial(
Partial::~Partial() {}
-Partial::Containment Partial::contains(Path const & path) const {
+Partial::Containment Partial::contains(std::vector<OUString> const & path) const {
//TODO: For set elements, the segment names recorded in the node tree need
// not match the corresponding path segments, so this function can fail.
@@ -121,7 +121,7 @@ Partial::Containment Partial::contains(Path const & path) const {
// ** If there is no startInclude along its trace: => CONTAINS_SUBNODES
Node const * p = &root_;
bool bIncludes = false;
- for (Path::const_iterator i(path.begin()); i != path.end(); ++i) {
+ for (auto i(path.begin()); i != path.end(); ++i) {
Node::Children::const_iterator j(p->children.find(*i));
if (j == p->children.end()) {
return p->startInclude ? CONTAINS_NODE : CONTAINS_NOT;