Print the name of the type in pool errors

This commit is contained in:
baldurk
2016-11-18 16:51:28 +01:00
parent b1809c1949
commit 5c280ee2ed
+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"); \
"Pool is bigger than max pool size cap for " #a); \
RDCCOMPILE_ASSERT(a::PoolType::AllocCount > 2, \
"Pool isn't greater than 2 in size. Bad parameters?"); \
DECL_TYPENAME(a);