|
|
@@ -36,7 +36,6 @@ class Allocator
|
|
|
{
|
|
|
public:
|
|
|
|
|
|
- Allocator() {}
|
|
|
virtual ~Allocator() {}
|
|
|
|
|
|
/// Allocates @size bytes of memory aligned to the specified
|
|
|
@@ -48,12 +47,6 @@ public:
|
|
|
|
|
|
/// Returns the total number of bytes allocated.
|
|
|
virtual size_t allocated_size() = 0;
|
|
|
-
|
|
|
-private:
|
|
|
-
|
|
|
- // Disable copying
|
|
|
- Allocator(const Allocator&);
|
|
|
- Allocator& operator=(const Allocator&);
|
|
|
};
|
|
|
|
|
|
Allocator& get_default_allocator();
|