X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/729e4ab9bc6618bc3d8a898e575df7f4019e29ca..2ca993e82fb37b597a3c73ecd1586a139a6579c5:/icuSources/common/unicode/errorcode.h diff --git a/icuSources/common/unicode/errorcode.h b/icuSources/common/unicode/errorcode.h index 0d9d2bdc..3b601810 100644 --- a/icuSources/common/unicode/errorcode.h +++ b/icuSources/common/unicode/errorcode.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 2009-2010, International Business Machines +* Copyright (C) 2009-2011, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -57,7 +57,7 @@ U_NAMESPACE_BEGIN * \code * class IcuErrorCode: public icu::ErrorCode { * public: - * virtual ~IcuErrorCode() { + * virtual ~IcuErrorCode() { // should be defined in .cpp as "key function" * // Safe because our handleFailure() does not throw exceptions. * if(isFailure()) { handleFailure(); } * } @@ -84,7 +84,7 @@ public: */ ErrorCode() : errorCode(U_ZERO_ERROR) {} /** Destructor, does nothing. See class documentation for details. @stable ICU 4.2 */ - virtual ~ErrorCode() {} + virtual ~ErrorCode(); /** Conversion operator, returns a reference. @stable ICU 4.2 */ operator UErrorCode & () { return errorCode; } /** Conversion operator, returns a pointer. @stable ICU 4.2 */