From 42faaacdb755f28b1f2ce3d3def2facb117ee7bd Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 3 Sep 2021 13:12:17 +0200 Subject: [PATCH] fix gcc build error --- libsrc/core/localheap.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/core/localheap.hpp b/libsrc/core/localheap.hpp index bc295e79..3bfae3d6 100644 --- a/libsrc/core/localheap.hpp +++ b/libsrc/core/localheap.hpp @@ -163,7 +163,7 @@ public: } /// allocates size bytes of memory from local heap - NETGEN_INLINE void * Alloc (size_t size) final // throw (LocalHeapOverflow) + void * Alloc (size_t size) final // throw (LocalHeapOverflow) { char * oldp = p; @@ -181,7 +181,7 @@ public: /// allocates size objects of type T on local heap template - NETGEN_INLINE T * Alloc (size_t size) // throw (LocalHeapOverflow) + T * Alloc (size_t size) // throw (LocalHeapOverflow) { char * oldp = p; size *= sizeof (T);