Use const char* to fix -Wwrite-strings warning

* include/ext/ropeimpl.h (rope::_S_dump): Use const char*.

From-SVN: r255316
This commit is contained in:
Jonathan Wakely 2017-12-01 15:10:16 +00:00 committed by Jonathan Wakely
parent c85d199208
commit f1338a2dcb
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2017-12-01 Jonathan Wakely <jwakely@redhat.com>
* include/ext/ropeimpl.h (rope::_S_dump): Use const char*.
* libsupc++/nested_exception.h (__throw_with_nested_impl): Add
noreturn attribute.

View File

@ -1139,7 +1139,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
}
else
{
char* __kind;
const char* __kind;
switch (__r->_M_tag)
{