aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QTC.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-08-07 21:49:54 +0200
committerJay Berkenbilt <ejb@ql.org>2022-08-07 22:20:49 +0200
commitcef6425bcac678157f58e9eafabb7e63c5831d18 (patch)
tree3889207c93e092679f9b8d01084c5cc1f9d7794f /libqpdf/QTC.cc
parentda71dc6f37c69bdf708f1f9876e63ff348ae2296 (diff)
downloadqpdf-cef6425bcac678157f58e9eafabb7e63c5831d18.tar.zst
Disable QTC inside the library by default (fixes #714)
This results in measurable performance improvements to packaged binary libqpdf distributions. QTC remains available for library users and is still selectively enabled in CI.
Diffstat (limited to 'libqpdf/QTC.cc')
-rw-r--r--libqpdf/QTC.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QTC.cc b/libqpdf/QTC.cc
index 21d240ba..1ca79c05 100644
--- a/libqpdf/QTC.cc
+++ b/libqpdf/QTC.cc
@@ -13,7 +13,7 @@ tc_active(char const* const scope)
}
void
-QTC::TC(char const* const scope, char const* const ccase, int n)
+QTC::TC_real(char const* const scope, char const* const ccase, int n)
{
static std::map<std::string, bool> active;
auto is_active = active.find(scope);