hashed_string: discard the no longer necessary operator!=

This commit is contained in:
skypjack
2026-01-08 11:25:50 +01:00
parent 8992822fe7
commit b3718b329d

View File

@@ -227,18 +227,6 @@ template<typename Char>
return lhs.value() == rhs.value();
}
/**
* @brief Compares two hashed strings.
* @tparam Char Character type.
* @param lhs A valid hashed string.
* @param rhs A valid hashed string.
* @return True if the two hashed strings differ, false otherwise.
*/
template<typename Char>
[[nodiscard]] constexpr bool operator!=(const basic_hashed_string<Char> &lhs, const basic_hashed_string<Char> &rhs) noexcept {
return !(lhs == rhs);
}
/**
* @brief Compares two hashed strings.
* @tparam Char Character type.