aboutsummaryrefslogtreecommitdiff
path: root/xsd/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-12-11 14:09:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-12-11 14:09:21 +0200
commitefbc3c3186944bc0373f8d0f4ae07058616d5c10 (patch)
treee9cb21185e89fc4cdc3b352ed3837678163678ec /xsd/cxx
parent0937eda5b6f2292a3c8e687cfd8dd4f8c4a2f8af (diff)
Add missing std::move() call
Diffstat (limited to 'xsd/cxx')
-rw-r--r--xsd/cxx/tree/tree-source.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xsd/cxx/tree/tree-source.cxx b/xsd/cxx/tree/tree-source.cxx
index 96a0286..0a936bc 100644
--- a/xsd/cxx/tree/tree-source.cxx
+++ b/xsd/cxx/tree/tree-source.cxx
@@ -3607,7 +3607,8 @@ namespace CXX
{
os << name << "::" << endl
<< name << " (" << auto_ptr << "< " << type << " > p)" << endl
- << ": " << member << " (p, 0)"
+ << ": " << member << " (" <<
+ (std >= cxx_version::cxx11 ? "::std::move (p)" : "p") << ", 0)"
<< "{"
<< "}";
}