Remove glslang::pool_allocator::setAllocator
Commit 24b3e8384e93f3e73b6aa14ea00a30574112f9ba upstream. Fixes compilation error with recent Clang versions. Signed-off-by: sephiroth99 <sephiroth99@gmail.com>
This commit is contained in:
parent
2a7d1dfbd8
commit
e5edea84c1
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue