summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2018-04-04 07:53:16 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2018-04-04 07:53:16 -0700
commit8436f2a69b9331f8e99a52772e93ba0dbb68dafe (patch)
tree55d10361faa44d85f741f3d9dcccf051f1e09568 /tests
parent474a4a3f731c4a8e2e045cdf63e2fea01d0b6300 (diff)
tests: Fix PUGIXML_COMPACT build on some platformsv1.9
We need bad_alloc that lives in <new>, not <exception>.
Diffstat (limited to 'tests')
-rw-r--r--tests/test.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.hpp b/tests/test.hpp
index de47cc8..dd14af6 100644
--- a/tests/test.hpp
+++ b/tests/test.hpp
@@ -6,7 +6,7 @@
#include <setjmp.h>
#ifndef PUGIXML_NO_EXCEPTIONS
-#include <exception>
+#include <new>
#endif
struct test_runner