From cf8957fed045f43779f7bae77ac8e9f3409a4416 Mon Sep 17 00:00:00 2001 From: sha512sum Date: Fri, 8 Nov 2024 12:17:29 +0000 Subject: [PATCH] . --- library/include/larra/serialization/auto.hpp | 7 +++++++ 1 file changed, 7 insertions(+) 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;