diff --git a/include/etl/unordered_map.h b/include/etl/unordered_map.h index bc0ff25a..6308cce2 100644 --- a/include/etl/unordered_map.h +++ b/include/etl/unordered_map.h @@ -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); }