From e5203d46fe7b9c2d9f92e765a34bfd8f4657fc7c Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 14 Jun 2011 08:52:38 +0200 Subject: [PATCH] fix aligned_allocator::allocate interface --- Eigen/src/Core/util/Memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index eff86a23f..eaa6091e3 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -386,7 +386,7 @@ public: return std::numeric_limits::max(); } - pointer allocate( size_type num, const_pointer* hint = 0 ) + pointer allocate( size_type num, const void* hint = 0 ) { static_cast( hint ); // suppress unused variable warning return static_cast( ei_aligned_malloc( num * sizeof(T) ) );