From 7dd9b46d29efdf85b9ba96cf15f9d3ec9e9ec508 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 8 Oct 2014 09:49:22 +0100 Subject: [PATCH] regex.h (regex_token_iterator::_M_end_of_seq): Add const qualifier. * include/bits/regex.h (regex_token_iterator::_M_end_of_seq): Add const qualifier. From-SVN: r215995 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/bits/regex.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c2ed337f37d..ab082d2503c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2014-10-08 Jonathan Wakely + + * include/bits/regex.h (regex_token_iterator::_M_end_of_seq): Add + const qualifier. + 2014-10-07 François Dumont * testsuite/util/testsuite_counter_type.h diff --git a/libstdc++-v3/include/bits/regex.h b/libstdc++-v3/include/bits/regex.h index 4ec20d74901..4244f2e5419 100644 --- a/libstdc++-v3/include/bits/regex.h +++ b/libstdc++-v3/include/bits/regex.h @@ -2689,7 +2689,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } constexpr bool - _M_end_of_seq() + _M_end_of_seq() const { return _M_result == nullptr; } _Position _M_position; -- 2.30.2