From a49e175727928b8b45c0c2ccdb01f143ea6d18c2 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 15 Mar 2017 17:42:02 +0000 Subject: Migrate to a more value based meta programming model Introduce Meta::Type to store a type as value, and pass it around, migrate enum_desc and option_type_name to this. --- src/input_handler.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_handler.hh') diff --git a/src/input_handler.hh b/src/input_handler.hh index 43fd9ecb..fd13a5a0 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -134,7 +134,7 @@ enum class AutoInfo template<> struct WithBitOps : std::true_type {}; -constexpr Array, 3> enum_desc(AutoInfo) +constexpr Array, 3> enum_desc(Meta::Type) { return { { { AutoInfo::Command, "command"}, -- cgit v1.2.3