Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit d934f18

Browse files
Replace emplace_back with push_back
1 parent 9525e25 commit d934f18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/concurrency/transaction_context.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ class TransactionContext : public Printable {
8989
}
9090

9191
void RecordCreate(oid_t database_oid, oid_t table_oid, oid_t index_oid) {
92-
rw_object_set_.emplace_back(std::make_tuple(database_oid, table_oid,
92+
rw_object_set_.push_back(std::make_tuple(database_oid, table_oid,
9393
index_oid, DDLType::CREATE));
9494
}
9595

9696
void RecordDrop(oid_t database_oid, oid_t table_oid, oid_t index_oid) {
97-
rw_object_set_.emplace_back(std::make_tuple(database_oid, table_oid,
97+
rw_object_set_.push_back(std::make_tuple(database_oid, table_oid,
9898
index_oid, DDLType::DROP));
9999
}
100100

0 commit comments

Comments
 (0)