From ed45ee0ee5a65a749f6a2bb7d9f43d1dfc0482d8 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk <170263+biodranik@users.noreply.github.com> Date: Tue, 13 Aug 2024 21:10:30 +0200 Subject: [PATCH] Update indexer/brands_holder.hpp Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com> --- indexer/brands_holder.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indexer/brands_holder.hpp b/indexer/brands_holder.hpp index 877f75822e..8969dca5a6 100644 --- a/indexer/brands_holder.hpp +++ b/indexer/brands_holder.hpp @@ -63,8 +63,8 @@ private: using is_transparent = void; // std::size_t operator()(const char* str) const { return hash_type{}(str); } - std::size_t operator()(std::string_view str) const { return hash_type{}(str); } - std::size_t operator()(std::string const & str) const { return hash_type{}(str); } + size_t operator()(std::string_view str) const { return hash_type{}(str); } + size_t operator()(std::string const & str) const { return hash_type{}(str); } }; std::unordered_map, StringViewHash, std::equal_to<>> m_keyToName;