From 5ee9f1a705934b0e2e6619da9cb127100476157e Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 15 May 2009 15:54:52 +0000 Subject: [PATCH] argh, forgot to re-add the throw() --- 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 dd6c53f56..95693e076 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -242,7 +242,7 @@ inline static int ei_alignmentOffset(const Scalar* ptr, int maxOffset) } #else #define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_NOTHROW(NeedsToAlign) \ - void* operator new(size_t size, const std::nothrow_t&) { \ + void* operator new(size_t size, const std::nothrow_t&) throw() { \ return Eigen::ei_conditional_aligned_malloc(size); \ } #endif