From ceeee5686d3299c9f0b78e3d05e1068c0a18d51a Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sun, 11 Sep 2022 15:00:22 +0100 Subject: [PATCH] Attempt to fix clang CI error --- include/etl/unordered_map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }