Skip to content

Commit

Permalink
Remove redundant overload
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jul 13, 2024
1 parent 1408f18 commit 25adca5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -1202,12 +1202,6 @@ FMT_CONSTEXPR inline auto is_locking() -> bool {
}

// An optimized version of std::copy with the output value type (T).
template <typename T, typename InputIt>
auto copy(InputIt begin, InputIt end, appender out) -> appender {
get_container(out).append(begin, end);
return out;
}

template <typename T, typename InputIt, typename OutputIt,
FMT_ENABLE_IF(is_back_insert_iterator<OutputIt>::value)>
auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
Expand Down

0 comments on commit 25adca5

Please sign in to comment.