diff --git a/include/nameof.hpp b/include/nameof.hpp index 12a256a..e88ab62 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -155,7 +155,7 @@ template constexpr auto suffix = sizeof(">(void) noexcept") - 1; return detail::pretty_name({str + prefix, size - prefix - suffix}, false); #else - return {}; + return {"nameof_enum::unsupported_compiler"}; #endif } @@ -236,7 +236,7 @@ template constexpr auto suffix = sizeof(">>(void) noexcept") - 1; return nameof_type_impl_({str + prefix, size - prefix - suffix}); #else - return {}; + return {"nameof_type::unsupported_compiler"}; #endif }