Merge pull request #763 from miloyip/issue762_move
Remove unncessary std::move()
This commit is contained in:
commit
94b36dc97e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user