Fix macro for pool name in assert

This commit is contained in:
baldurk
2017-02-24 14:01:29 +00:00
parent 1ba4a8ad1e
commit eb5ae4a1bf
+1 -1
View File
@@ -272,7 +272,7 @@ private:
template <> \
const size_t a::PoolType::AllocByteSize = sizeof(a); \
RDCCOMPILE_ASSERT(a::PoolType::AllocCount * sizeof(a) <= a::PoolType::AllocMaxByteSize, \
"Pool is bigger than max pool size cap for " #a); \
"Pool is bigger than max pool size cap for " STRINGIZE(a)); \
RDCCOMPILE_ASSERT(a::PoolType::AllocCount > 2, \
"Pool isn't greater than 2 in size. Bad parameters?"); \
DECL_TYPENAME(a);