summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/functions/qpatternplatform_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/functions/qpatternplatform_p.h')
-rw-r--r--src/xmlpatterns/functions/qpatternplatform_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/functions/qpatternplatform_p.h b/src/xmlpatterns/functions/qpatternplatform_p.h
index e007381..a85cd0c 100644
--- a/src/xmlpatterns/functions/qpatternplatform_p.h
+++ b/src/xmlpatterns/functions/qpatternplatform_p.h
@@ -180,7 +180,7 @@ namespace QPatternist
inline int PatternPlatform::captureCount() const
{
if(m_compiledParts.testFlag(PatternPrecompiled))
- return m_pattern.numCaptures();
+ return m_pattern.captureCount();
else
return -1;
}