From e4b9311ac15570bfe757d77de1c66584f95e1df9 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 4 Dec 2019 14:09:03 -0800 Subject: [PATCH] Remove glslang::pool_allocator::setAllocator TPoolAllocator is not copy assignable, so this setter could never have been used. After a recent change (878a24ee2), new versions of Clang reject this code outright. --- deps/glslang/glslang/glslang/Include/PoolAlloc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/deps/glslang/glslang/glslang/Include/PoolAlloc.h b/deps/glslang/glslang/glslang/Include/PoolAlloc.h index 0e237a6a2c..b8eccb8832 100644 --- a/deps/glslang/glslang/glslang/Include/PoolAlloc.h +++ b/deps/glslang/glslang/glslang/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: