fix: incorect operator==

This commit is contained in:
Корней Гедерт 2024-08-14 10:38:13 +04:00
parent 9b423b1abe
commit e79e41b385

View File

@ -70,7 +70,7 @@ typedef struct PolicyInstruction
{
inline bool operator==(const PolicyInstruction &other) const
{
return key == other.key && key == other.key && value == other.value && data == other.data;
return key == other.key && value == other.value && type == other.type && data == other.data;
}
inline bool operator!=(const PolicyInstruction &other) const
{