X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..f59164e3d128c7675a4d3934206346a3384e53a5:/icuSources/i18n/strrepl.cpp diff --git a/icuSources/i18n/strrepl.cpp b/icuSources/i18n/strrepl.cpp index 7608e288..4c90cfb3 100644 --- a/icuSources/i18n/strrepl.cpp +++ b/icuSources/i18n/strrepl.cpp @@ -1,6 +1,6 @@ /* ********************************************************************** -* Copyright (c) 2002-2011, International Business Machines Corporation +* Copyright (c) 2002-2012, International Business Machines Corporation * and others. All Rights Reserved. ********************************************************************** * Date Name Description @@ -93,7 +93,7 @@ UnicodeFunctor* StringReplacer::clone() const { * Implement UnicodeFunctor */ UnicodeReplacer* StringReplacer::toReplacer() const { - return (UnicodeReplacer*) this; + return const_cast(this); } /**