Using `std::enable_if` instead of `std::enable_if_t` for C++ support.

This commit is contained in:
Tim Ohliger 2024-09-06 15:50:12 +02:00
parent e8aa81bd9a
commit 85052afe65
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ struct as_return_type {
};
template <typename T>
struct as_return_type<T, typename std::enable_if_t<is_descr<decltype(T::return_name)>::value>> {
struct as_return_type<T, typename std::enable_if<is_descr<decltype(T::return_name)>::value>::type> {
static constexpr auto name = T::return_name;
};