parent
11df748a3b
commit
3f23397596
@ -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