Cleanup for the cmake file.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-07-17 12:15:32 +02:00
parent eb3e174877
commit 4f5ae70634
2 changed files with 29 additions and 20 deletions

View File

@@ -14,7 +14,7 @@ namespace ArbUt {
public:
[[nodiscard]] inline constexpr size_t Length() const noexcept { return _length; }
[[nodiscard]] inline constexpr uint32_t GetHash() const noexcept { return _hash; }
[[nodiscard]] inline constexpr std::size_t operator()(BasicStringView const& s) const noexcept { return _hash; }
[[nodiscard]] inline constexpr std::size_t operator()() const noexcept { return _hash; }
[[nodiscard]] inline constexpr operator uint32_t() const noexcept { return _hash; }
[[nodiscard]] inline constexpr bool operator==(const BasicStringView& rhs) const noexcept {
return _hash == rhs._hash;