diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-08-14 11:54:38 +0700 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-08-14 11:54:38 +0700 |
| commit | b58f72315cbf7ee8921659dd129fd2f6a221bcfc (patch) | |
| tree | d2c54fff8e89040dab71558ebfc8d7b5812c1ddb /src/hash_map.hh | |
| parent | 9329fc99d26fd567ffc13aaaab83237ebec9a8ba (diff) | |
Change HashCompatible trait to a variable template
Diffstat (limited to 'src/hash_map.hh')
| -rw-r--r-- | src/hash_map.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash_map.hh b/src/hash_map.hh index 4263b195..89c97b00 100644 --- a/src/hash_map.hh +++ b/src/hash_map.hh @@ -156,7 +156,7 @@ struct HashMap template<typename KeyType> using EnableIfHashCompatible = std::enable_if_t< - IsHashCompatible<Key, std::decay_t<KeyType>> + HashCompatible<Key, std::decay_t<KeyType>> >; template<typename KeyType, typename = EnableIfHashCompatible<KeyType>> |
