Skip to content

Commit

Permalink
std::map reference removed
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletGiraffe committed Sep 12, 2024
1 parent bdaffb9 commit a37a29f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions container/set_operations.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <algorithm>
#include <iterator>
#include <map>
#include <numeric>
#include <set>
#include <type_traits>
Expand Down Expand Up @@ -129,12 +128,6 @@ template <typename ItemType>
return set;
}

template <typename KeyType, typename ValueType>
[[nodiscard]] const std::map<KeyType, ValueType>& uniqueElements(const std::map<KeyType, ValueType>& map)
{
return map;
}

template <template<typename...> class OutputContainerType, class ContainerType1, class ContainerType2, typename ComparatorType = std::less<>>
[[nodiscard]] OutputContainerType<typename ContainerType1::value_type, std::allocator<typename ContainerType1::value_type>>
setTheoreticDifference(
Expand Down

0 comments on commit a37a29f

Please sign in to comment.