summaryrefslogtreecommitdiff
path: root/boost/python/str.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/python/str.hpp')
-rw-r--r--boost/python/str.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/python/str.hpp b/boost/python/str.hpp
index 426a3a255c..434c8c986c 100644
--- a/boost/python/str.hpp
+++ b/boost/python/str.hpp
@@ -184,7 +184,7 @@ class str : public detail::str_base
template<class T1, class T2, class T3>
long count(T1 const& sub,T2 const& start, T3 const& end) const
{
- return base::count(object(sub), object(start));
+ return base::count(object(sub), object(start), object(end));
}
#if PY_VERSION_HEX < 0x03000000