summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2022-05-27 07:10:18 +1000
committer Vas Crabb <vas@vastheman.com>2022-05-27 07:10:18 +1000
commitca162bf356218b269c9e30986ced233063dc7bed (patch)
treebd7b3e5a8b47590c68e4458b6deab9ce46c98d0a /src/lib
parentbb2b5e34880dc0f3237b1b6d3af07f2ac0db89d6 (diff)
netlist: Abbreviate one more type trait in palloc.h
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/netlist/plib/palloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/netlist/plib/palloc.h b/src/lib/netlist/plib/palloc.h
index 01bc131f926..1eff726d45d 100644
--- a/src/lib/netlist/plib/palloc.h
+++ b/src/lib/netlist/plib/palloc.h
@@ -49,7 +49,7 @@ namespace plib {
: m_arena(a), m_info({ALIGN ? ALIGN : alignof(T), sizeof(T)} ) { }
template<typename U, typename =
- std::enable_if_t<std::is_convertible_v< U*, T*>>>
+ std::enable_if_t<std::is_convertible_v<U *, T *>>>
constexpr arena_deleter_base(const arena_deleter_base<P, U, ALIGN, false> &rhs) noexcept
: m_arena(rhs.m_arena), m_info(rhs.m_info) { }
@@ -74,7 +74,7 @@ namespace plib {
}
template<typename U, typename =
- std::enable_if_t<std::is_convertible_v< U*, T*>>>
+ std::enable_if_t<std::is_convertible_v<U *, T *>>>
constexpr arena_deleter_base(const arena_deleter_base<P, U, ALIGN, true> &rhs) noexcept
: m_info(rhs.m_info)
{
@@ -265,7 +265,7 @@ namespace plib {
plib::unused_var(a); // GCC 7.x does not like the maybe_unused
}
- template <class U, typename = std::enable_if_t<!std::is_same<T, U>::value>>
+ template <class U, typename = std::enable_if_t<!std::is_same_v<T, U>>>
arena_allocator(const arena_allocator<ARENA, U, ALIGN, HSA>& rhs) noexcept
: m_a(rhs.m_a)
{