[commit] r1812 - trunk/GME/Parser

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Jan 20 16:19:12 CST 2012


Author: ksmyth
Date: Fri Jan 20 16:19:12 2012
New Revision: 1812

Log:
Move constructor for xml string

Modified:
   trunk/GME/Parser/GenParser.h

Modified: trunk/GME/Parser/GenParser.h
==============================================================================
--- trunk/GME/Parser/GenParser.h	Fri Jan 20 16:18:51 2012	(r1811)
+++ trunk/GME/Parser/GenParser.h	Fri Jan 20 16:19:12 2012	(r1812)
@@ -21,6 +21,7 @@
 	XmlStr() { };
 	XmlStr(const XMLCh* const input);
 	XmlStr(const XMLCh* const input, unsigned int len);
+	XmlStr(XmlStr&& input) : std::tstring(std::move(input)) { }
 };
 
 // --------------------------- CGenParser


More information about the gme-commit mailing list