diff --git a/src/blockstore/utils/IdWrapper.h b/src/blockstore/utils/IdWrapper.h index df8fc991..86eba3a2 100644 --- a/src/blockstore/utils/IdWrapper.h +++ b/src/blockstore/utils/IdWrapper.h @@ -33,12 +33,18 @@ public: private: IdData id_; - friend class std::hash; - friend class std::less; + friend struct std::hash; + friend struct std::less; template friend bool operator==(const IdWrapper& lhs, const IdWrapper& rhs); template friend bool operator!=(const IdWrapper& lhs, const IdWrapper& rhs); }; +template +constexpr size_t IdWrapper::BINARY_LENGTH; + +template +constexpr size_t IdWrapper::STRING_LENGTH; + template inline IdWrapper::IdWrapper(const IdData& id): id_(id) {}