diff --git a/src/xml.cxx b/src/xml.cxx index 8ea3df8..192bab1 100644 --- a/src/xml.cxx +++ b/src/xml.cxx @@ -962,7 +962,7 @@ namespace xml { throw wrong_node_number(*node, is, tpl[i].name(), node->list(tpl[i].name()).size(), tpl[i].min(), tpl[i].max()); - return node; + return std::move(node); } Tag Factory::tag(std::istream& is, const Node& position) throw(second_slash_in_tag, character_after_slash, tag_expected,