summaryrefslogtreecommitdiff
path: root/boost/spirit/home/support/iterators/multi_pass.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/support/iterators/multi_pass.hpp')
-rw-r--r--boost/spirit/home/support/iterators/multi_pass.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/spirit/home/support/iterators/multi_pass.hpp b/boost/spirit/home/support/iterators/multi_pass.hpp
index 3fc244034f..1c31d7e256 100644
--- a/boost/spirit/home/support/iterators/multi_pass.hpp
+++ b/boost/spirit/home/support/iterators/multi_pass.hpp
@@ -148,19 +148,19 @@ namespace boost { namespace spirit
return policies_base_type::less_than(*this, y);
}
- bool operator!=(multi_pass const& y)
+ bool operator!=(multi_pass const& y) const
{
return !(*this == y);
}
- bool operator>(multi_pass const& y)
+ bool operator>(multi_pass const& y) const
{
return y < *this;
}
- bool operator>=(multi_pass const& y)
+ bool operator>=(multi_pass const& y) const
{
return !(*this < y);
}
- bool operator<=(multi_pass const& y)
+ bool operator<=(multi_pass const& y) const
{
return !(y < *this);
}