diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-05-26 07:59:18 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-05-26 07:59:18 +0100 |
| commit | 6e389512f548d3efdb4f25407fb51e0cbbdc8051 (patch) | |
| tree | aba75712ba2f8a7c8832113778f341066cf0bdb9 /src/meta.hh | |
| parent | ca38e103148807c3a4b18f1e0bc36732553fcbd8 (diff) | |
Modernize the way we compute memory domains from type
Use a constexpr function instead of a template type
Diffstat (limited to 'src/meta.hh')
| -rw-r--r-- | src/meta.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/meta.hh b/src/meta.hh index 70a99428..04c343d5 100644 --- a/src/meta.hh +++ b/src/meta.hh @@ -6,7 +6,8 @@ namespace Kakoune inline namespace Meta { -template<typename T> struct Type {}; +struct AnyType{}; +template<typename T> struct Type : AnyType {}; } |
