Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: third_party/icu/source/i18n/currunit.cpp

Issue 6484008: Enable RTTI for ICU.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/icu/source/i18n/currfmt.cpp ('k') | third_party/icu/source/i18n/dtitvfmt.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ********************************************************************** 2 **********************************************************************
3 * Copyright (c) 2004-2010, International Business Machines 3 * Copyright (c) 2004-2010, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * Author: Alan Liu 6 * Author: Alan Liu
7 * Created: April 26, 2004 7 * Created: April 26, 2004
8 * Since: ICU 3.0 8 * Since: ICU 3.0
9 ********************************************************************** 9 **********************************************************************
10 */ 10 */
11 #include <typeinfo> // for 'typeid' to work 11 #include "unicode/utypeinfo.h" // for 'typeid' to work
12 12
13 #include "unicode/utypes.h" 13 #include "unicode/utypes.h"
14 14
15 #if !UCONFIG_NO_FORMATTING 15 #if !UCONFIG_NO_FORMATTING
16 16
17 #include "unicode/currunit.h" 17 #include "unicode/currunit.h"
18 #include "unicode/ustring.h" 18 #include "unicode/ustring.h"
19 19
20 U_NAMESPACE_BEGIN 20 U_NAMESPACE_BEGIN
21 21
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const CurrencyUnit& c = (const CurrencyUnit&) other; 53 const CurrencyUnit& c = (const CurrencyUnit&) other;
54 return typeid(*this) == typeid(other) && 54 return typeid(*this) == typeid(other) &&
55 u_strcmp(isoCode, c.isoCode) == 0; 55 u_strcmp(isoCode, c.isoCode) == 0;
56 } 56 }
57 57
58 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CurrencyUnit) 58 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CurrencyUnit)
59 59
60 U_NAMESPACE_END 60 U_NAMESPACE_END
61 61
62 #endif // !UCONFIG_NO_FORMATTING 62 #endif // !UCONFIG_NO_FORMATTING
OLDNEW
« no previous file with comments | « third_party/icu/source/i18n/currfmt.cpp ('k') | third_party/icu/source/i18n/dtitvfmt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698