Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTF committed Nov 8, 2024
1 parent a654481 commit 200d895
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/util/Algorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ std::vector<T> flatten(std::vector<std::vector<T>>&& input) {
// copies could be avoided, but our current uses of this function are
// currently not at all performance-critical (small `input` and small `T`).
template <std::ranges::forward_range Range>
auto removeDuplicates(const Range& input)
-> std::vector<typename std::iterator_traits<
std::ranges::iterator_t<Range>>::value_type> {
auto removeDuplicates(const Range& input) -> std::vector<
typename std::iterator_traits<std::ranges::iterator_t<Range>>::value_type> {
using T =
typename std::iterator_traits<std::ranges::iterator_t<Range>>::value_type;
std::vector<T> result;
Expand Down

0 comments on commit 200d895

Please sign in to comment.