summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cfx_xmlinstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/xml/cfx_xmlinstruction.cpp')
-rw-r--r--core/fxcrt/xml/cfx_xmlinstruction.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fxcrt/xml/cfx_xmlinstruction.cpp b/core/fxcrt/xml/cfx_xmlinstruction.cpp
index 6886172ee2..3c7deda92a 100644
--- a/core/fxcrt/xml/cfx_xmlinstruction.cpp
+++ b/core/fxcrt/xml/cfx_xmlinstruction.cpp
@@ -6,6 +6,8 @@
#include "core/fxcrt/xml/cfx_xmlinstruction.h"
+#include <utility>
+
#include "core/fxcrt/fx_extension.h"
#include "third_party/base/ptr_util.h"
#include "third_party/base/stl_util.h"
@@ -23,7 +25,7 @@ std::unique_ptr<CFX_XMLNode> CFX_XMLInstruction::Clone() {
auto pClone = pdfium::MakeUnique<CFX_XMLInstruction>(GetName());
pClone->SetAttributes(GetAttributes());
pClone->m_TargetData = m_TargetData;
- return pClone;
+ return std::move(pClone);
}
void CFX_XMLInstruction::AppendData(const CFX_WideString& wsData) {