From 79b2fea52e6d46c888a30296c7bc07a92be6f7bb Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 2 Aug 2024 01:32:12 -0700 Subject: [PATCH] core/util: fix MemberMetadata compile on gcc --- src/core/util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/util.hpp b/src/core/util.hpp index 82a2082e..b2599234 100644 --- a/src/core/util.hpp +++ b/src/core/util.hpp @@ -143,7 +143,7 @@ class MemberMetadata { public: using Type = Traits::Type; using Ref = const Type&; - using Ret = std::conditional_t; + using Ret = std::conditional_t, void, DropEmitter>; static Ref get(const Class* obj) { return obj->*member; }