From 5c280ee2ed001e61c41f2090167dc7cafe673c3a Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 18 Nov 2016 16:51:28 +0100 Subject: [PATCH] Print the name of the type in pool errors --- renderdoc/common/wrapped_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/common/wrapped_pool.h b/renderdoc/common/wrapped_pool.h index 6689e5e49..146cf67e2 100644 --- a/renderdoc/common/wrapped_pool.h +++ b/renderdoc/common/wrapped_pool.h @@ -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);