Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 1 | Index: git/external/glslang/src/glslang/Include/PoolAlloc.h |
| 2 | =================================================================== |
| 3 | --- git.orig/external/glslang/src/glslang/Include/PoolAlloc.h |
| 4 | +++ git/external/glslang/src/glslang/Include/PoolAlloc.h |
| 5 | @@ -240,8 +240,9 @@ protected: |
| 6 | |
| 7 | int numCalls; // just an interesting statistic |
| 8 | size_t totalBytes; // just an interesting statistic |
| 9 | -private: |
| 10 | +public: |
| 11 | TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator |
| 12 | +private: |
| 13 | TPoolAllocator(const TPoolAllocator&); // don't allow default copy constructor |
| 14 | }; |
| 15 | |