summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/XMLDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/XMLDocument.cpp')
-rw-r--r--dviware/dvisvgm/src/XMLDocument.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dviware/dvisvgm/src/XMLDocument.cpp b/dviware/dvisvgm/src/XMLDocument.cpp
index ffe23b1f80..8b3c7f31e9 100644
--- a/dviware/dvisvgm/src/XMLDocument.cpp
+++ b/dviware/dvisvgm/src/XMLDocument.cpp
@@ -2,7 +2,7 @@
** XMLDocument.cpp **
** **
** This file is part of dvisvgm -- a fast DVI to SVG converter **
-** Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2021 Martin Gieseking <martin.gieseking@uos.de> **
** **
** This program is free software; you can redistribute it and/or **
** modify it under the terms of the GNU General Public License as **
@@ -39,7 +39,7 @@ void XMLDocument::append (unique_ptr<XMLNode> node) {
if (node->toElement())
_rootElement = util::static_unique_ptr_cast<XMLElement>(std::move(node));
else
- _nodes.emplace_back(std::move(node));
+ _nodes.push_back(std::move(node));
}
}