Skip to content

Commit bffd5b5

Browse files
committed
ci
1 parent ffa02c5 commit bffd5b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/__flat_set/flat_set.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,9 @@ class flat_set {
692692
_LIBCPP_HIDE_FROM_ABI pair<iterator, bool> __try_emplace(_Kp&& __key) {
693693
auto __it = lower_bound(__key);
694694
if (__it == end() || __compare_(__key, *__it)) {
695-
return pair<iterator, bool>(iterator(__emplace_exact_pos(__it, std::forward<_Kp>(__key))), true);
695+
return pair<iterator, bool>(__emplace_exact_pos(__it, std::forward<_Kp>(__key)), true);
696696
} else {
697-
return pair<iterator, bool>(iterator(std::move(__it)), false);
697+
return pair<iterator, bool>(std::move(__it), false);
698698
}
699699
}
700700

0 commit comments

Comments
 (0)