Line 0
Link Here
|
|
|
1 |
commit 24b3e8384e93f3e73b6aa14ea00a30574112f9ba |
2 |
Author: Reid Kleckner <rnk@google.com> |
3 |
Date: Wed Dec 4 14:09:03 2019 -0800 |
4 |
|
5 |
Remove glslang::pool_allocator::setAllocator |
6 |
|
7 |
TPoolAllocator is not copy assignable, so this setter could never have |
8 |
been used. After a recent change (878a24ee2), new versions of Clang |
9 |
reject this code outright. |
10 |
|
11 |
--- third_party/angle/third_party/glslang/src/glslang/Include/PoolAlloc.h.orig 2019-04-05 00:55:17 UTC |
12 |
+++ third_party/angle/third_party/glslang/src/glslang/Include/PoolAlloc.h |
13 |
@@ -304,7 +304,6 @@ class pool_allocator { (public) |
14 |
size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); } |
15 |
size_type max_size(int size) const { return static_cast<size_type>(-1) / size; } |
16 |
|
17 |
- void setAllocator(TPoolAllocator* a) { allocator = *a; } |
18 |
TPoolAllocator& getAllocator() const { return allocator; } |
19 |
|
20 |
protected: |