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; }