diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-12 12:44:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-12 13:59:50 +0100 |
commit | 1a2926a995fdbdcdae0ca6407877084f3520e539 (patch) | |
tree | 4ac33d3d0f1d3941c6fe782633fe6e555c157c13 /configmgr | |
parent | a07c637a0e4fe0ab81db70c69decbc946ad37da9 (diff) |
use std::move when popping stuff off stacks
Change-Id: I6ba0ee8afee1a9579045643cd0118cf19599d5b9
Reviewed-on: https://gerrit.libreoffice.org/82497
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/xcsparser.cxx | 2 |
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()) { |