From 88bea2742cdadced4614d5036d4201c6b7e487a3 Mon Sep 17 00:00:00 2001 From: sephiroth99 Date: Tue, 12 Jan 2021 23:08:40 -0500 Subject: [PATCH] Remove glslang::pool_allocator::setAllocator Commit 24b3e8384e93f3e73b6aa14ea00a30574112f9ba upstream. Fixes compilation error with recent Clang versions. Signed-off-by: sephiroth99 --- third_party/glslang-spirv/Include/PoolAlloc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/third_party/glslang-spirv/Include/PoolAlloc.h b/third_party/glslang-spirv/Include/PoolAlloc.h index 0e237a6a2..b8eccb883 100644 --- a/third_party/glslang-spirv/Include/PoolAlloc.h +++ b/third_party/glslang-spirv/Include/PoolAlloc.h @@ -304,7 +304,6 @@ public: size_type max_size() const { return static_cast(-1) / sizeof(T); } size_type max_size(int size) const { return static_cast(-1) / size; } - void setAllocator(TPoolAllocator* a) { allocator = *a; } TPoolAllocator& getAllocator() const { return allocator; } protected: