Commit 94b36dc9 authored by Milo Yip's avatar Milo Yip Committed by GitHub

Merge pull request #763 from miloyip/issue762_move

Remove unncessary std::move()
parents 11df748a 3f233975
......@@ -214,7 +214,7 @@ static PrettyWriter<StringBuffer> WriterGen(StringBuffer &target) {
writer.StartObject();
writer.Key("a");
writer.Int(1);
return std::move(writer);
return writer;
}
TEST(PrettyWriter, MoveCtor) {
......
......@@ -507,7 +507,7 @@ static Writer<StringBuffer> WriterGen(StringBuffer &target) {
writer.StartObject();
writer.Key("a");
writer.Int(1);
return std::move(writer);
return writer;
}
TEST(Writer, MoveCtor) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment