mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-09 22:51:51 +08:00
bug #909: Removed unreachable return statement
This commit is contained in:
parent
719ac0d6b0
commit
238308e0f7
@ -614,7 +614,6 @@ template<typename T> class aligned_stack_memory_handler
|
|||||||
void* operator new(size_t size, const std::nothrow_t&) throw() { \
|
void* operator new(size_t size, const std::nothrow_t&) throw() { \
|
||||||
try { return Eigen::internal::conditional_aligned_malloc<NeedsToAlign>(size); } \
|
try { return Eigen::internal::conditional_aligned_malloc<NeedsToAlign>(size); } \
|
||||||
catch (...) { return 0; } \
|
catch (...) { return 0; } \
|
||||||
return 0; \
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_NOTHROW(NeedsToAlign) \
|
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_NOTHROW(NeedsToAlign) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user