diff --git a/BaseLib/ConfigTreeUtil.cpp b/BaseLib/ConfigTreeUtil.cpp
index 1aa7864d7740a7587af20e7915715bdf808ae113..ad5d7e769cce5a120cbf96ca68e83557eef17c4a 100644
--- a/BaseLib/ConfigTreeUtil.cpp
+++ b/BaseLib/ConfigTreeUtil.cpp
@@ -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'.",