From c15842c374d83363ec1d7057d6f758a874de7feb Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 9 Apr 2009 21:23:25 +0000 Subject: [PATCH] backporting rev 951682 (compilation fix in aligned allocator) --- Eigen/src/Core/util/Memory.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index c3504d549..d69cd36b2 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -341,6 +341,12 @@ public: { ei_aligned_free( p ); } + + bool operator!=(const aligned_allocator& other) const + { return false; } + + bool operator==(const aligned_allocator& other) const + { return true; } }; #endif // EIGEN_MEMORY_H