argh, forgot to re-add the throw()

This commit is contained in:
Benoit Jacob 2009-05-15 15:54:52 +00:00
parent 126284d08b
commit 5ee9f1a705

View File

@ -242,7 +242,7 @@ inline static int ei_alignmentOffset(const Scalar* ptr, int maxOffset)
} }
#else #else
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_NOTHROW(NeedsToAlign) \ #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); \ return Eigen::ei_conditional_aligned_malloc<NeedsToAlign>(size); \
} }
#endif #endif