Attempt to fix clang CI error

This commit is contained in:
John Wellbelove 2022-09-11 15:00:22 +01:00
parent a7b11834f7
commit ceeee5686d

View File

@ -158,13 +158,13 @@ namespace etl
value_type key_value_pair;
};
friend bool operator ==(const node_t& lhs, const node_t& rhs)
friend static bool operator ==(const node_t& lhs, const node_t& rhs)
{
return (lhs.key_value_pair.first == rhs.key_value_pair.first) &&
(lhs.key_value_pair.second == rhs.key_value_pair.second);
}
friend bool operator !=(const node_t& lhs, const node_t& rhs)
friend static bool operator !=(const node_t& lhs, const node_t& rhs)
{
return !(lhs == rhs);
}