aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/nomalloc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp
index 277e98630..6d40222a4 100644
--- a/test/nomalloc.cpp
+++ b/test/nomalloc.cpp
@@ -22,11 +22,10 @@
// License and a copy of the GNU General Public License along with
// Eigen. If not, see <http://www.gnu.org/licenses/>.
+#define throw(X)
#define EIGEN_DONT_VECTORIZE 1
#include "main.h"
-// #define CUSTOM_NEW_DELETE(TYPE)
-
void* operator new[] (size_t n)
{
ei_assert(false && "operator new should never be called with fixed size path");