Eliminate a copy of the string returned by FastWriter

This commit is contained in:
Tom Ritchford
2014-10-28 16:49:23 -04:00
committed by Vinnie Falco
parent bf0fa8c562
commit 8c1c2f5d05

View File

@@ -200,7 +200,7 @@ FastWriter::write ( const Value& root )
document_ = "";
writeValue ( root );
document_ += "\n";
return document_;
return std::move (document_);
}