Skip to content

Commit 12cfa60

Browse files
committed
push_back -> emplace_back
1 parent 5c9dabf commit 12cfa60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/gfx/timsort.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ template <typename RandomAccessIterator, typename Compare> class TimSort {
195195
~TimSort() {}
196196

197197
void pushRun(iter_t const runBase, diff_t const runLen) {
198-
pending_.push_back(run<iter_t>(runBase, runLen));
198+
pending_.emplace_back(runBase, runLen);
199199
}
200200

201201
void mergeCollapse(Compare compare) {

0 commit comments

Comments
 (0)