diff --git a/include/nameof.hpp b/include/nameof.hpp index 057981d..7382cf6 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -973,6 +973,7 @@ From get_base_type(Type From::*); template union union_type { + constexpr ~union_type() {} char c = {}; T f; };