X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Ficu%2Fsource%2Fcommon%2Funicode%2Ferrorcode.h;h=3b601810d7b12fc5895ebf7689232985236b6d92;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=0d9d2bdc16095e0a5fcd635a144e1448b2ec680b;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/icu/source/common/unicode/errorcode.h b/src/third_party/icu/source/common/unicode/errorcode.h index 0d9d2bd..3b60181 100644 --- a/src/third_party/icu/source/common/unicode/errorcode.h +++ b/src/third_party/icu/source/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 */