summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-03-15 17:42:02 +0000
committerMaxime Coste <mawww@kakoune.org>2017-03-15 17:42:02 +0000
commita49e175727928b8b45c0c2ccdb01f143ea6d18c2 (patch)
tree88c1c3909c2ab06394a63af5ebab8fdcd0a389f0 /src/input_handler.hh
parenta88e58763bd33e021511d2e821703f478afd85bf (diff)
Migrate to a more value based meta programming model
Introduce Meta::Type<T> to store a type as value, and pass it around, migrate enum_desc and option_type_name to this.
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh2
1 files changed, 1 insertions, 1 deletions
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<AutoInfo> : std::true_type {};
-constexpr Array<EnumDesc<AutoInfo>, 3> enum_desc(AutoInfo)
+constexpr Array<EnumDesc<AutoInfo>, 3> enum_desc(Meta::Type<AutoInfo>)
{
return { {
{ AutoInfo::Command, "command"},