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:
parent
c85d199208
commit
f1338a2dcb
@ -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.
|
||||
|
||||
|
@ -1139,7 +1139,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
}
|
||||
else
|
||||
{
|
||||
char* __kind;
|
||||
const char* __kind;
|
||||
|
||||
switch (__r->_M_tag)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user