From 1da7b31f13b00fdf4e572b5847750237f484b505 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 21 Nov 2014 12:27:34 +0100 Subject: resolve now resolves lists of generic Managed objects and not nodes (this is needed as e.g. constants need to be resolved, which are TypeInstances but not Nodes) --- test/core/NodeTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/core/NodeTest.cpp b/test/core/NodeTest.cpp index 9537d29..182dfdd 100644 --- a/test/core/NodeTest.cpp +++ b/test/core/NodeTest.cpp @@ -30,7 +30,7 @@ private: std::vector> children; protected: - void doResolve(std::vector> &res, + void doResolve(std::vector> &res, const std::vector &path, Filter filter, void *filterData, unsigned idx, VisitorSet &visited) override { @@ -73,7 +73,7 @@ TEST(Node, simpleResolve) Rooted child1 = root->addChild(new TestNode(mgr, "child1")); Rooted child11 = child1->addChild(new TestNode(mgr, "child11")); - std::vector> res; + std::vector> res; res = root->resolve(std::vector{"root", "child1", "child11"}); ASSERT_EQ(1, res.size()); ASSERT_TRUE(child11 == *(res.begin())); -- cgit v1.2.3