summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cfx_xmlelement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/xml/cfx_xmlelement.cpp')
-rw-r--r--core/fxcrt/xml/cfx_xmlelement.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fxcrt/xml/cfx_xmlelement.cpp b/core/fxcrt/xml/cfx_xmlelement.cpp
index e72b77c4f6..5b5fe45561 100644
--- a/core/fxcrt/xml/cfx_xmlelement.cpp
+++ b/core/fxcrt/xml/cfx_xmlelement.cpp
@@ -6,6 +6,8 @@
#include "core/fxcrt/xml/cfx_xmlelement.h"
+#include <utility>
+
#include "core/fxcrt/cfx_widetextbuf.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/xml/cfx_xmlchardata.h"
@@ -39,7 +41,7 @@ std::unique_ptr<CFX_XMLNode> CFX_XMLElement::Clone() {
pChild = pChild->m_pNext;
}
pClone->SetTextData(wsText);
- return pClone;
+ return std::move(pClone);
}
CFX_WideString CFX_XMLElement::GetLocalTagName() const {