Commit 24b3e838 by Reid Kleckner

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.
parent e58c080d
...@@ -304,7 +304,6 @@ public: ...@@ -304,7 +304,6 @@ public:
size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); } 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; } 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; } TPoolAllocator& getAllocator() const { return allocator; }
protected: protected:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment