tests: Fix PUGIXML_NO_XPATH,PUGIXML_COMPACT build
pugixml.hpp wasn't including the <exception> header in this build but test code needed it.
This commit is contained in:
parent
5f4afe3bd2
commit
474a4a3f73
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
|||
|
||||
#include <setjmp.h>
|
||||
|
||||
#ifndef PUGIXML_NO_EXCEPTIONS
|
||||
#include <exception>
|
||||
#endif
|
||||
|
||||
struct test_runner
|
||||
{
|
||||
test_runner(const char* name)
|
||||
|
|
Loading…
Add table
Reference in a new issue