mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Attempt to fix compilation with gcc.
This commit is contained in:
@@ -281,6 +281,8 @@ public:
|
|||||||
pool_allocator(TPoolAllocator& a) : allocator(a) { }
|
pool_allocator(TPoolAllocator& a) : allocator(a) { }
|
||||||
pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { }
|
pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { }
|
||||||
|
|
||||||
|
pool_allocator& operator=(const pool_allocator&) { return *this; }
|
||||||
|
|
||||||
template<class Other>
|
template<class Other>
|
||||||
pool_allocator(const pool_allocator<Other>& p) : allocator(p.getAllocator()) { }
|
pool_allocator(const pool_allocator<Other>& p) : allocator(p.getAllocator()) { }
|
||||||
|
|
||||||
@@ -308,7 +310,6 @@ public:
|
|||||||
TPoolAllocator& getAllocator() const { return allocator; }
|
TPoolAllocator& getAllocator() const { return allocator; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
pool_allocator& operator=(const pool_allocator&) { return *this; }
|
|
||||||
TPoolAllocator& allocator;
|
TPoolAllocator& allocator;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user