summaryrefslogtreecommitdiff
path: root/zenXml/zenxml/cvrt_struc.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenXml/zenxml/cvrt_struc.h')
-rw-r--r--zenXml/zenxml/cvrt_struc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenXml/zenxml/cvrt_struc.h b/zenXml/zenxml/cvrt_struc.h
index 45109187..9d484f75 100644
--- a/zenXml/zenxml/cvrt_struc.h
+++ b/zenXml/zenxml/cvrt_struc.h
@@ -175,7 +175,7 @@ struct ConvertElement<T, ValueType::OTHER>
{
std::string tmp;
writeText(value, tmp);
- output.setValue(tmp);
+ output.setValue(std::move(tmp));
}
bool readStruc(const XmlElement& input, T& value) const
{
bgstack15