Index: source/i18n/unicode/tmunit.h |
diff --git a/source/i18n/unicode/tmunit.h b/source/i18n/unicode/tmunit.h |
index 6eda105c12f8920b14521e88b66da9e5a0546218..e417f3522bceb3c5cee6ac3a41c24fe6b6aabc07 100644 |
--- a/source/i18n/unicode/tmunit.h |
+++ b/source/i18n/unicode/tmunit.h |
@@ -1,6 +1,6 @@ |
/* |
******************************************************************************* |
- * Copyright (C) 2009-2010, Google, International Business Machines Corporation and * |
+ * Copyright (C) 2009-2014, Google, International Business Machines Corporation and * |
* others. All Rights Reserved. * |
******************************************************************************* |
*/ |
@@ -77,20 +77,6 @@ public: |
TimeUnit& operator=(const TimeUnit& other); |
/** |
- * Equality operator. |
- * @return true if 2 objects are the same. |
- * @stable ICU 4.2 |
- */ |
- virtual UBool operator==(const UObject& other) const; |
- |
- /** |
- * Non-Equality operator. |
- * @return true if 2 objects are not the same. |
- * @stable ICU 4.2 |
- */ |
- UBool operator!=(const UObject& other) const; |
- |
- /** |
* Returns a unique class ID for this object POLYMORPHICALLY. |
* This method implements a simple form of RTTI used by ICU. |
* @return The class ID for this object. All objects of a given |
@@ -134,12 +120,6 @@ private: |
}; |
-inline UBool |
-TimeUnit::operator!=(const UObject& other) const { |
- return !operator==(other); |
-} |
- |
- |
U_NAMESPACE_END |
#endif /* #if !UCONFIG_NO_FORMATTING */ |