testsuite adjustment

This commit is contained in:
djudjuu
2017-05-19 09:51:23 +02:00
parent e3583d04f7
commit 6316a76ab9
3 changed files with 11 additions and 9 deletions
+4 -4
View File
@@ -139,13 +139,13 @@ private:
return _node.id();
}
template<class Container>
Json::Value getContainerIds(Container container)
Json::Value getContainerIds(Container const& container)
{
Json::Value tmp(Json::arrayValue);
for (auto it = container.begin(); it != container.end(); ++it)
for (auto const& element: container)
{
solAssert(*it, "");
tmp.append(nodeId(**it));
solAssert(element, "");
tmp.append(nodeId(*element));
}
return tmp;
}