summaryrefslogtreecommitdiff
path: root/configmgr/source/xcsparser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/xcsparser.cxx')
-rw-r--r--configmgr/source/xcsparser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/xcsparser.cxx b/configmgr/source/xcsparser.cxx
index c0b34974157b..7b1750b20972 100644
--- a/configmgr/source/xcsparser.cxx
+++ b/configmgr/source/xcsparser.cxx
@@ -257,7 +257,7 @@ void XcsParser::endElement(xmlreader::XmlReader const & reader) {
if (ignoring_ > 0) {
--ignoring_;
} else if (!elements_.empty()) {
- Element top(elements_.top());
+ Element top(std::move(elements_.top()));
elements_.pop();
if (top.node.is()) {
if (elements_.empty()) {