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