diff options
Diffstat (limited to 'ace/String_Base.cpp')
-rw-r--r-- | ace/String_Base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/String_Base.cpp b/ace/String_Base.cpp index a55f940e3c5..77fe1c48529 100644 --- a/ace/String_Base.cpp +++ b/ace/String_Base.cpp @@ -73,7 +73,7 @@ ACE_String_Base<CHAR>::set (const CHAR *s, { this->buf_len_ = len; this->len_ = len; - this->rep_ = (CHAR *) s; + this->rep_ = const_cast <CHAR *> (s); } else { |