diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index 1b377b1d9..e25df0049 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -336,6 +336,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