+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
-* Copyright (c) 2002-2011, International Business Machines Corporation
+* Copyright (c) 2002-2012, International Business Machines Corporation
* and others. All Rights Reserved.
**********************************************************************
* Date Name Description
* Implement UnicodeFunctor
*/
UnicodeReplacer* StringReplacer::toReplacer() const {
- return (UnicodeReplacer*) this;
+ return const_cast<StringReplacer *>(this);
}
/**