Skip to content
Snippets Groups Projects
Commit 36464224 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[BL] Dima's comment: reoved unnecessary move

parent ee6df01b
No related branches found
No related tags found
No related merge requests found
...@@ -110,8 +110,7 @@ getConfSubtreeOptional(std::string const& root) const ...@@ -110,8 +110,7 @@ getConfSubtreeOptional(std::string const& root) const
if (subtree) { if (subtree) {
markVisited(root); markVisited(root);
return boost::optional<ConfigTreeNew>(std::move( return ConfigTreeNew(*subtree, *this, root);
ConfigTreeNew(*subtree, *this, root)));
} else { } else {
markVisited(root, true); markVisited(root, true);
return boost::optional<ConfigTreeNew>(); return boost::optional<ConfigTreeNew>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment