summaryrefslogtreecommitdiff
path: root/boost/spirit/home/classic/iterator/multi_pass.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/classic/iterator/multi_pass.hpp')
-rw-r--r--boost/spirit/home/classic/iterator/multi_pass.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/spirit/home/classic/iterator/multi_pass.hpp b/boost/spirit/home/classic/iterator/multi_pass.hpp
index ec8e01c976..fd9482ef31 100644
--- a/boost/spirit/home/classic/iterator/multi_pass.hpp
+++ b/boost/spirit/home/classic/iterator/multi_pass.hpp
@@ -194,7 +194,7 @@ class buf_id_check
}
// called to verify that everything is okay.
- void check() const
+ void check_if_valid() const
{
if (buf_id != *shared_buf_id)
{
@@ -226,7 +226,7 @@ class no_check
no_check(no_check const&) {}
void destroy() {}
void swap(no_check&) {}
- void check() const {}
+ void check_if_valid() const {}
void clear_queue() {}
};
@@ -1000,7 +1000,7 @@ reference
multi_pass<InputT, InputPolicy, OwnershipPolicy, CheckingPolicy, StoragePolicy>::
operator*() const
{
- CHP::check();
+ CHP::check_if_valid();
return SP::dereference(*this);
}
@@ -1034,7 +1034,7 @@ multi_pass<InputT, InputPolicy, OwnershipPolicy, CheckingPolicy, StoragePolicy>&
multi_pass<InputT, InputPolicy, OwnershipPolicy, CheckingPolicy, StoragePolicy>::
operator++()
{
- CHP::check();
+ CHP::check_if_valid();
SP::increment(*this);
return *this;
}