mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-25 20:14:10 +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>
|
||||
|
||||
#ifndef PUGIXML_NO_EXCEPTIONS
|
||||
#include <exception>
|
||||
#include <new>
|
||||
#endif
|
||||
|
||||
struct test_runner
|
||||
|
Loading…
x
Reference in New Issue
Block a user