summaryrefslogtreecommitdiff
path: root/src/python/pybind11
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/pybind11')
-rw-r--r--src/python/pybind11/debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/pybind11/debug.cc b/src/python/pybind11/debug.cc
index 8fcd0cdbc..de8b10316 100644
--- a/src/python/pybind11/debug.cc
+++ b/src/python/pybind11/debug.cc
@@ -75,7 +75,7 @@ ignore(const char *expr)
{
ObjectMatch ignore(expr);
- Trace::getDebugLogger()->setIgnore(ignore);
+ Trace::getDebugLogger()->addIgnore(ignore);
}
void