aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/pcre.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/pcre.cc')
-rw-r--r--libtests/pcre.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libtests/pcre.cc b/libtests/pcre.cc
index 8ff7fba0..6ebec01e 100644
--- a/libtests/pcre.cc
+++ b/libtests/pcre.cc
@@ -1,4 +1,3 @@
-
#include <qpdf/PCRE.hh>
#include <iostream>
#include <string.h>
@@ -12,7 +11,7 @@ int main(int argc, char* argv[])
PCRE("^([\\p{L}]+)", PCRE_UTF8);
std::cout << "1" << std::endl;
}
- catch (PCRE::Exception& e)
+ catch (std::exception& e)
{
std::cout << "0" << std::endl;
}