0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-14 01:47:55 +08:00

tests: Fix PUGIXML_COMPACT build on some platforms

We need bad_alloc that lives in <new>, not <exception>.
This commit is contained in:
Arseny Kapoulkine 2018-04-04 07:53:16 -07:00
parent 474a4a3f73
commit 8436f2a69b

View File

@ -6,7 +6,7 @@
#include <setjmp.h> #include <setjmp.h>
#ifndef PUGIXML_NO_EXCEPTIONS #ifndef PUGIXML_NO_EXCEPTIONS
#include <exception> #include <new>
#endif #endif
struct test_runner struct test_runner