add more info for unsupported_compiler
This commit is contained in:
parent
dc8d46685e
commit
6195f364cb
1 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ template <typename E, E V>
|
|||
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 <typename T>
|
|||
constexpr auto suffix = sizeof(">>(void) noexcept") - 1;
|
||||
return nameof_type_impl_({str + prefix, size - prefix - suffix});
|
||||
#else
|
||||
return {};
|
||||
return {"nameof_type::unsupported_compiler"};
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue