diff --git a/library/include/larra/serialization/auto.hpp b/library/include/larra/serialization/auto.hpp index 3fb64e9..6d85d72 100644 --- a/library/include/larra/serialization/auto.hpp +++ b/library/include/larra/serialization/auto.hpp @@ -67,6 +67,8 @@ struct Config { std::optional defaultValue; }; +// GCC workaround: operator== + struct AttributeConfig { auto operator==(const AttributeConfig&) const -> bool = default; template @@ -79,6 +81,11 @@ struct AttributeConfig { } }; +template +constexpr auto operator==(const Config&, const Config&) -> bool { + return false; +} + template <> struct Config { std::optional defaultValue;