summaryrefslogtreecommitdiff
path: root/src/py_xpath.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_xpath.cc')
-rw-r--r--src/py_xpath.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_xpath.cc b/src/py_xpath.cc
index 6569ce7b..9b8b266f 100644
--- a/src/py_xpath.cc
+++ b/src/py_xpath.cc
@@ -69,7 +69,7 @@ void export_xpath()
;
#define EXC_TRANSLATE(type) \
- register_exception_translator<type>(&exc_translate_ ## type);
+ register_error_translator<type>(&exc_translate_ ## type);
EXC_TRANSLATE(xpath_t_error);
EXC_TRANSLATE(calc_error);