summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2017-12-01 15:10:16 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2017-12-01 15:10:16 +0000
commit747afe893a42e9c911b2d031da4dc4b7eefc688a (patch)
treec280107c46a883eb5ad7f9c6c590bc4aa7e831e8 /libstdc++-v3/include/ext
parentddbe62d4a93202f410f00b80ce06e19b9f81c02e (diff)
downloadgcc-747afe893a42e9c911b2d031da4dc4b7eefc688a.tar.gz
Use const char* to fix -Wwrite-strings warning
* include/ext/ropeimpl.h (rope::_S_dump): Use const char*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255316 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/ext')
-rw-r--r--libstdc++-v3/include/ext/ropeimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/ropeimpl.h b/libstdc++-v3/include/ext/ropeimpl.h
index 9e88ce14c18..4842034c1e8 100644
--- a/libstdc++-v3/include/ext/ropeimpl.h
+++ b/libstdc++-v3/include/ext/ropeimpl.h
@@ -1139,7 +1139,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
}
else
{
- char* __kind;
+ const char* __kind;
switch (__r->_M_tag)
{