mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-25 00:53:43 +00:00
Buildfix on gcc 5.4
This commit is contained in:
parent
14587f1cb8
commit
0df8c5875c
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ namespace dinhelp {
|
||||||
template <typename T, size_t S, typename A>
|
template <typename T, size_t S, typename A>
|
||||||
T* AutomemRawBase_heap<T, S, A>::AllocMemory() {
|
T* AutomemRawBase_heap<T, S, A>::AllocMemory() {
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
Assert(nullptr == m_localMem);
|
assert(nullptr == m_localMem);
|
||||||
#endif
|
#endif
|
||||||
m_localMem = A().allocate(S);
|
m_localMem = A().allocate(S);
|
||||||
#if defined(ASSERTIONSENABLED)
|
#if defined(ASSERTIONSENABLED)
|
||||||
|
@ -65,7 +65,7 @@ namespace dinhelp {
|
||||||
template <typename T, size_t S, typename A>
|
template <typename T, size_t S, typename A>
|
||||||
void AutomemRawBase_heap<T, S, A>::FreeMemory() noexcept {
|
void AutomemRawBase_heap<T, S, A>::FreeMemory() noexcept {
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
Assert(nullptr != m_localMem);
|
assert(nullptr != m_localMem);
|
||||||
#endif
|
#endif
|
||||||
A().deallocate(m_localMem, S);
|
A().deallocate(m_localMem, S);
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
|
|
Loading…
Reference in a new issue