diff --git a/icu4c/source/tools/ctestfw/datamap.cpp b/icu4c/source/tools/ctestfw/datamap.cpp index e9242dec7b..c59447c8a7 100644 --- a/icu4c/source/tools/ctestfw/datamap.cpp +++ b/icu4c/source/tools/ctestfw/datamap.cpp @@ -11,6 +11,9 @@ #include "hash.h" #include +DataMap::~DataMap() {} +DataMap::DataMap() {} + int32_t DataMap::utoi(const UnicodeString &s) const { diff --git a/icu4c/source/tools/ctestfw/unicode/datamap.h b/icu4c/source/tools/ctestfw/unicode/datamap.h index b8180fd9f3..00d8b05eac 100644 --- a/icu4c/source/tools/ctestfw/unicode/datamap.h +++ b/icu4c/source/tools/ctestfw/unicode/datamap.h @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 2002-2005, International Business Machines Corporation and + * Copyright (c) 2002-2006, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -26,10 +26,10 @@ U_NAMESPACE_END */ class T_CTEST_EXPORT_API DataMap { public: - virtual ~DataMap() {}; + virtual ~DataMap(); protected: - DataMap() {}; + DataMap(); int32_t utoi(const UnicodeString &s) const; diff --git a/icu4c/source/tools/ctestfw/unicode/testdata.h b/icu4c/source/tools/ctestfw/unicode/testdata.h index 0b8d752526..a248bf568d 100644 --- a/icu4c/source/tools/ctestfw/unicode/testdata.h +++ b/icu4c/source/tools/ctestfw/unicode/testdata.h @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 2002-2005, International Business Machines Corporation and + * Copyright (c) 2002-2006, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -96,7 +96,7 @@ public: private: // RBTestData() {}; // RBTestData(const RBTestData& original) {}; - RBTestData& operator=(const RBTestData& /*original*/) {return *this;}; + RBTestData& operator=(const RBTestData& /*original*/); public: virtual ~RBTestData();