diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2018-04-04 07:53:16 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2018-04-04 07:53:16 -0700 |
commit | 8436f2a69b9331f8e99a52772e93ba0dbb68dafe (patch) | |
tree | 55d10361faa44d85f741f3d9dcccf051f1e09568 /tests | |
parent | 474a4a3f731c4a8e2e045cdf63e2fea01d0b6300 (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.hpp | 2 |
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 |