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.
This commit is contained in:
Reid Kleckner 2019-12-04 14:09:03 -08:00 committed by Aaron Kling
parent 83622eb494
commit e4b9311ac1

View File

@ -304,7 +304,6 @@ public:
size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); }
size_type max_size(int size) const { return static_cast<size_type>(-1) / size; }
void setAllocator(TPoolAllocator* a) { allocator = *a; }
TPoolAllocator& getAllocator() const { return allocator; }
protected: