mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:17:35 +00:00
LibIPC: Fix HashMap detection in case of non-trivial traits
This commit is contained in:
parent
4e101d1fa2
commit
67d9172885
1 changed files with 2 additions and 4 deletions
|
@ -27,10 +27,8 @@ namespace Detail {
|
|||
|
||||
template<typename T>
|
||||
constexpr inline bool IsHashMap = false;
|
||||
template<typename K, typename V>
|
||||
constexpr inline bool IsHashMap<HashMap<K, V>> = true;
|
||||
template<typename K, typename V>
|
||||
constexpr inline bool IsHashMap<OrderedHashMap<K, V>> = true;
|
||||
template<typename K, typename V, typename KeyTraits, typename ValueTraits, bool IsOrdered>
|
||||
constexpr inline bool IsHashMap<HashMap<K, V, KeyTraits, ValueTraits, IsOrdered>> = true;
|
||||
|
||||
template<typename T>
|
||||
constexpr inline bool IsOptional = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue