summaryrefslogtreecommitdiff
path: root/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp')
-rw-r--r--boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp b/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp
index e70af081bc..c5cc430817 100644
--- a/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp
+++ b/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp
@@ -48,9 +48,7 @@ namespace boost { namespace spirit { namespace iterator_policies
typedef
typename boost::detail::iterator_traits<T>::pointer
pointer;
- typedef
- typename boost::detail::iterator_traits<T>::reference
- reference;
+ typedef result_type& reference;
typedef result_type value_type;
protected: