Skip to content

Commit

Permalink
tests: Fix PUGIXML_NO_XPATH,PUGIXML_COMPACT build
Browse files Browse the repository at this point in the history
pugixml.hpp wasn't including the <exception> header in this build but
test code needed it.
  • Loading branch information
zeux committed Apr 4, 2018
1 parent 5f4afe3 commit 474a4a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

#include <setjmp.h>

#ifndef PUGIXML_NO_EXCEPTIONS
#include <exception>
#endif

struct test_runner
{
test_runner(const char* name)
Expand Down

0 comments on commit 474a4a3

Please sign in to comment.