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 authored Jun 11, 2024
1 parent 794e697 commit 627f69c
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 627f69c

Please sign in to comment.