Skip to content
Snippets Groups Projects
Commit fd37cc1a authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[BL] Enable copy elision by removing move.

parent af731a9f
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ makeConfigTree(const std::string& filepath, const bool be_ruthless,
DBUG("Project configuration from file \'%s\' read.", filepath.c_str());
if (auto child = std::move(ptree.get_child_optional(toplevel_tag))) {
if (auto child = ptree.get_child_optional(toplevel_tag)) {
return ConfigTreeTopLevel(filepath, be_ruthless, std::move(*child));
} else {
ERR("Tag <%s> has not been found in file `%s'.",
......
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