diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-05-10 23:22:24 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-07-19 08:49:44 +0200 |
| commit | d37c3d175d74158b899f03d316bfe6ae96e89503 (patch) | |
| tree | 2d2d99fe25da057e8e9d6d68683c0a00a8118ae5 /src/option_types.hh | |
| parent | 609bc24f67e53708d8cb93a070ab58d770e6e001 (diff) | |
More uses of standard type traits aliases
Diffstat (limited to 'src/option_types.hh')
| -rw-r--r-- | src/option_types.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option_types.hh b/src/option_types.hh index 53b10ab6..1c44ddce 100644 --- a/src/option_types.hh +++ b/src/option_types.hh @@ -24,7 +24,7 @@ constexpr decltype(T::option_type_name) option_type_name(Meta::Type<T>) } template<typename Enum> -typename std::enable_if<std::is_enum<Enum>::value, String>::type +std::enable_if_t<std::is_enum<Enum>::value, String> option_type_name(Meta::Type<Enum>) { return format("{}({})", with_bit_ops(Meta::Type<Enum>{}) ? "flags" : "enum", |
