fixed warning in aligned_allocator

pull/1/head v0.0.14
Thorsten Liebig 2010-09-20 08:12:24 +02:00
parent 060b93d089
commit 54dd06590b
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ public:
void deallocate(T * const p, const size_t n) const {
// std::cout << "Deallocating " << n << (n == 1 ? " object" : "objects") << " of size " << sizeof(T) << "." << std::endl;
// aligned_allocator wraps free().
UNUSED(n);
FREE(p);
}