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/client.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/client.hh')
| -rw-r--r-- | src/client.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.hh b/src/client.hh index 80a1ef08..d5abc929 100644 --- a/src/client.hh +++ b/src/client.hh @@ -131,7 +131,7 @@ enum class Autoreload Ask }; -constexpr Array<EnumDesc<Autoreload>, 5> enum_desc(Autoreload) +constexpr Array<EnumDesc<Autoreload>, 5> enum_desc(Meta::Type<Autoreload>) { return { { { Autoreload::Yes, "yes" }, |
