Przeglądaj źródła

table: discard the no longer necessary operator!=

skypjack 1 miesiąc temu
rodzic
commit
f5983aa751
1 zmienionych plików z 0 dodań i 5 usunięć
  1. 0 5
      src/entt/container/table.hpp

+ 0 - 5
src/entt/container/table.hpp

@@ -108,11 +108,6 @@ template<typename... Lhs, typename... Rhs>
     return std::get<0>(lhs.it) == std::get<0>(rhs.it);
 }
 
-template<typename... Lhs, typename... Rhs>
-[[nodiscard]] constexpr bool operator!=(const table_iterator<Lhs...> &lhs, const table_iterator<Rhs...> &rhs) noexcept {
-    return !(lhs == rhs);
-}
-
 template<typename... Lhs, typename... Rhs>
 [[nodiscard]] constexpr bool operator<(const table_iterator<Lhs...> &lhs, const table_iterator<Rhs...> &rhs) noexcept {
     return std::get<0>(lhs.it) < std::get<0>(rhs.it);