mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibIPC: Restore inline
attribute on IPC constexpr booleans
These were mistakenly removed in commit d41e577ba
.
This commit is contained in:
parent
9a4bb958ac
commit
01044cbf1f
Notes:
github-actions[bot]
2025-02-13 13:27:56 +00:00
Author: https://github.com/trflynn89
Commit: 01044cbf1f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3557
1 changed files with 8 additions and 8 deletions
|
@ -29,24 +29,24 @@ namespace Detail {
|
|||
|
||||
// Cannot use SpecializationOf with these templates because they have non-type parameters. See https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p1985r3.pdf
|
||||
template<typename T>
|
||||
constexpr bool IsArray = false;
|
||||
constexpr inline bool IsArray = false;
|
||||
template<typename T, size_t N>
|
||||
constexpr bool IsArray<Array<T, N>> = true;
|
||||
constexpr inline bool IsArray<Array<T, N>> = true;
|
||||
|
||||
template<typename T>
|
||||
constexpr bool IsVector = false;
|
||||
constexpr inline bool IsVector = false;
|
||||
template<typename T, size_t inline_capacity>
|
||||
constexpr bool IsVector<Vector<T, inline_capacity>> = true;
|
||||
constexpr inline bool IsVector<Vector<T, inline_capacity>> = true;
|
||||
|
||||
template<typename T>
|
||||
constexpr bool IsHashMap = false;
|
||||
constexpr inline bool IsHashMap = false;
|
||||
template<typename K, typename V, typename KeyTraits, typename ValueTraits, bool IsOrdered>
|
||||
constexpr bool IsHashMap<HashMap<K, V, KeyTraits, ValueTraits, IsOrdered>> = true;
|
||||
constexpr inline bool IsHashMap<HashMap<K, V, KeyTraits, ValueTraits, IsOrdered>> = true;
|
||||
|
||||
template<typename T>
|
||||
constexpr bool IsSharedSingleProducerCircularQueue = false;
|
||||
constexpr inline bool IsSharedSingleProducerCircularQueue = false;
|
||||
template<typename T, size_t Size>
|
||||
constexpr bool IsSharedSingleProducerCircularQueue<Core::SharedSingleProducerCircularQueue<T, Size>> = true;
|
||||
constexpr inline bool IsSharedSingleProducerCircularQueue<Core::SharedSingleProducerCircularQueue<T, Size>> = true;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue