aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-05-15 15:54:52 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-05-15 15:54:52 +0000
commit5ee9f1a705934b0e2e6619da9cb127100476157e (patch)
tree3f10628160fed69aaa989d3e9d7d9f5d43e13693
parent126284d08bcf9abb3a6665bf31305a188371e461 (diff)
argh, forgot to re-add the throw()
-rw-r--r--Eigen/src/Core/util/Memory.h2
1 files changed, 1 insertions, 1 deletions
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<NeedsToAlign>(size); \
}
#endif