Skip to content

Commit

Permalink
Merge 3f23397 into 11df748
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip committed Oct 5, 2016
2 parents 11df748 + 3f23397 commit 189a939
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unittest/prettywritertest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion test/unittest/writertest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 189a939

Please sign in to comment.