Fix clang build broken in last commit
This commit is contained in:
parent
5458af7c52
commit
a6592ae299
@ -33,12 +33,18 @@ public:
|
||||
private:
|
||||
|
||||
IdData id_;
|
||||
friend class std::hash<IdWrapper>;
|
||||
friend class std::less<IdWrapper>;
|
||||
friend struct std::hash<IdWrapper>;
|
||||
friend struct std::less<IdWrapper>;
|
||||
template<class Tag2> friend bool operator==(const IdWrapper<Tag2>& lhs, const IdWrapper<Tag2>& rhs);
|
||||
template<class Tag2> friend bool operator!=(const IdWrapper<Tag2>& lhs, const IdWrapper<Tag2>& rhs);
|
||||
};
|
||||
|
||||
template<class Tag>
|
||||
constexpr size_t IdWrapper<Tag>::BINARY_LENGTH;
|
||||
|
||||
template<class Tag>
|
||||
constexpr size_t IdWrapper<Tag>::STRING_LENGTH;
|
||||
|
||||
template<class Tag>
|
||||
inline IdWrapper<Tag>::IdWrapper(const IdData& id): id_(id) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user