0
0
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:
Arseny Kapoulkine 2018-04-04 07:53:16 -07:00
parent 474a4a3f73
commit 8436f2a69b

View File

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