Merge pull request #2792 from jeremy-lunarg/hayes-2760

Return new allocator for copied containers
This commit is contained in:
Greg Fischer 2021-10-26 10:52:19 -06:00 committed by GitHub
commit 44b57597d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;