mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 19:40:06 +00:00
Merge pull request #2792 from jeremy-lunarg/hayes-2760
Return new allocator for copied containers
This commit is contained in:
commit
44b57597d8
@ -306,6 +306,8 @@ public:
|
||||
|
||||
TPoolAllocator& getAllocator() const { return allocator; }
|
||||
|
||||
pool_allocator select_on_container_copy_construction() const { return pool_allocator{}; }
|
||||
|
||||
protected:
|
||||
pool_allocator& operator=(const pool_allocator&) { return *this; }
|
||||
TPoolAllocator& allocator;
|
||||
|
Loading…
Reference in New Issue
Block a user