From eb5ae4a1bf87450a7cb2ada4ead801cb410ea49d Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 24 Feb 2017 14:01:29 +0000 Subject: [PATCH] Fix macro for pool name in assert --- 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 49c6ac881..0887c9d06 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 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);