regex.h (regex_token_iterator::_M_end_of_seq): Add const qualifier.
authorJonathan Wakely <jwakely@redhat.com>
Wed, 8 Oct 2014 08:49:22 +0000 (09:49 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 8 Oct 2014 08:49:22 +0000 (09:49 +0100)
* include/bits/regex.h (regex_token_iterator::_M_end_of_seq): Add
const qualifier.

From-SVN: r215995

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h

index c2ed337f37d0bc6ae356664b4445050cbb5647ac..ab082d2503c75df6b4ddaadcee86ada88a3633ab 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-08  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/regex.h (regex_token_iterator::_M_end_of_seq): Add
+       const qualifier.
+
 2014-10-07  François Dumont  <fdumont@gcc.gnu.org>
 
        * testsuite/util/testsuite_counter_type.h
index 4ec20d74901290b15c663fac0d8776debe2d8374..4244f2e541962dab9aaecfd113b04fc40240dec7 100644 (file)
@@ -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;