mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-2699 Fix some compiler warnings
X-SVN-Rev: 12211
This commit is contained in:
parent
4f2e30f29d
commit
8154919c09
2 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ const UnicodeString RBDataMap::getString(const char* key, UErrorCode &status) co
|
|||
}
|
||||
|
||||
|
||||
const int32_t RBDataMap::getInt(const char* key, UErrorCode &status) const
|
||||
int32_t RBDataMap::getInt(const char* key, UErrorCode &status) const
|
||||
{
|
||||
int32_t result = 0;
|
||||
UnicodeString r = this->getString(key, status);
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
* @param key name of the data field.
|
||||
* @return an integer containing the data
|
||||
*/
|
||||
virtual const int32_t getInt(const char* key, UErrorCode &status) const = 0;
|
||||
virtual int32_t getInt(const char* key, UErrorCode &status) const = 0;
|
||||
|
||||
/** get an array of strings from the DataMap. Addressed by name.
|
||||
* The user must dispose of it after usage.
|
||||
|
@ -77,7 +77,7 @@ public:
|
|||
void init(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status);
|
||||
|
||||
virtual const UnicodeString getString(const char* key, UErrorCode &status) const;
|
||||
virtual const int32_t getInt(const char* key, UErrorCode &status) const;
|
||||
virtual int32_t getInt(const char* key, UErrorCode &status) const;
|
||||
|
||||
virtual const UnicodeString* getStringArray(int32_t& count, const char* key, UErrorCode &status) const;
|
||||
virtual const int32_t* getIntArray(int32_t& count, const char* key, UErrorCode &status) const;
|
||||
|
|
Loading…
Add table
Reference in a new issue