]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/fmtable_cnv.cpp
ICU-64260.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / fmtable_cnv.cpp
index 9a270997f5a24df6b83d04e5e0909d5b0c904a48..9a647927797dbdc5d3e48468d26e53cb9536b54e 100644 (file)
@@ -1,6 +1,8 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 *******************************************************************************
-* Copyright (C) 1997-2005, International Business Machines Corporation and    *
+* Copyright (C) 1997-2010, International Business Machines Corporation and    *
 * others. All Rights Reserved.                                                *
 *******************************************************************************
 *
@@ -31,9 +33,9 @@ U_NAMESPACE_BEGIN
 // This is just a grandfathered API.
 
 Formattable::Formattable(const char* stringToCopy)
-    :   UObject(), fType(kString)
 {
-    fBogus.setToBogus();
+    init();
+    fType = kString;
     fValue.fString = new UnicodeString(stringToCopy);
 }