From 54dd06590b2dcea4d716e738d5b3747ba689307e Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Mon, 20 Sep 2010 08:12:24 +0200 Subject: [PATCH] fixed warning in aligned_allocator --- tools/aligned_allocator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/aligned_allocator.h b/tools/aligned_allocator.h index 1307070..80ec3da 100644 --- a/tools/aligned_allocator.h +++ b/tools/aligned_allocator.h @@ -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); }