diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-03-15 17:42:02 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-03-15 17:42:02 +0000 |
| commit | a49e175727928b8b45c0c2ccdb01f143ea6d18c2 (patch) | |
| tree | 88c1c3909c2ab06394a63af5ebab8fdcd0a389f0 /src/input_handler.hh | |
| parent | a88e58763bd33e021511d2e821703f478afd85bf (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.hh | 2 |
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"}, |
