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:
parent
474a4a3f73
commit
8436f2a69b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user