]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* include/experimental/string_view: Fix inconsistent exception specs.
authorJonathan Wakely <jwakely@redhat.com>
Tue, 15 Apr 2014 19:05:57 +0000 (20:05 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 15 Apr 2014 19:05:57 +0000 (20:05 +0100)
From-SVN: r209433

libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/string_view

index 1a40f204700f75ced12c15b4a589010662f0cd96..760cdb33a5d41fa39df958d0212ce183fd81c055 100644 (file)
@@ -54,6 +54,8 @@
        * testsuite/ext/throw_value/cons.cc: Fix most vexing parse.
        * testsuite/util/testsuite_common_types.h: Update comment.
 
+       * include/experimental/string_view: Fix inconsistent exception specs.
+
 2014-04-14  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/bits/stl_vector.h (_Vector_base::_Vector_impl,
index bebeb6b62ea2f356fcf91d98d351694838703af7..6b6588b97708c364d759abead3b8d9e4f88a03ba 100644 (file)
@@ -329,7 +329,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       find(_CharT __c, size_type __pos=0) const noexcept;
 
       size_type
-      find(const _CharT* __str, size_type __pos, size_type __n) const;
+      find(const _CharT* __str, size_type __pos, size_type __n) const noexcept;
 
       size_type
       find(const _CharT* __str, size_type __pos=0) const noexcept
@@ -343,7 +343,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       rfind(_CharT __c, size_type __pos = npos) const noexcept;
 
       size_type
-      rfind(const _CharT* __str, size_type __pos, size_type __n) const;
+      rfind(const _CharT* __str, size_type __pos, size_type __n) const noexcept;
 
       size_type
       rfind(const _CharT* __str, size_type __pos = npos) const noexcept