Skip to content

Commit

Permalink
thrift : replace emplace_back() with push_back() for std::vector<bool>
Browse files Browse the repository at this point in the history
  • Loading branch information
holmes1412 committed Jun 11, 2024
1 parent 794e697 commit 4ef9d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thrift/rpc_thrift_idl.inl
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public:
if (!val_desc->json_reader(buffer, &ele))
break;

list->emplace_back(std::move(ele));
list->push_back(ele);
}

return false;
Expand Down

0 comments on commit 4ef9d73

Please sign in to comment.