diff --git a/network_process/interface/fwd_types.hpp b/network_process/interface/fwd_types.hpp index ce04a2c..949ac11 100644 --- a/network_process/interface/fwd_types.hpp +++ b/network_process/interface/fwd_types.hpp @@ -267,7 +267,12 @@ template struct equal_to> { bool operator()(const pod_key_t& k1, const pod_key_t& k2) const { - return static_cast>(k1) == static_cast>(k2); + std::array a, b; + for (size_t i = 0; i < N; ++i) { + a[i] = static_cast(k1[i]); + b[i] = static_cast(k2[i]); + } + return a == b; } }; } // namespace std \ No newline at end of file