mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-2000 Fix some compiler warnings
X-SVN-Rev: 10357
This commit is contained in:
parent
e4ca51215b
commit
64e629ca99
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ class ICUNSubclass : public ICUNotifier {
|
|||
// return l instanceof MyListener;
|
||||
}
|
||||
|
||||
void notifyListener(EventListener& l) const {
|
||||
virtual void notifyListener(EventListener& l) const {
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -42,7 +42,7 @@ class LKFSubclass : public LocaleKeyFactory {
|
|||
}
|
||||
|
||||
protected:
|
||||
const Hashtable* getSupportedIDs(UErrorCode& status) const {
|
||||
virtual const Hashtable* getSupportedIDs(UErrorCode& status) const {
|
||||
// return Collections.EMPTY_SET;
|
||||
return NULL;
|
||||
}
|
||||
|
@ -463,7 +463,7 @@ class TestStringService : public ICUService {
|
|||
return LocaleKey::createWithCanonicalFallback(id, NULL, status); // no fallback locale
|
||||
}
|
||||
|
||||
virtual ICUServiceFactory* createSimpleFactory(UObject* obj, const UnicodeString& id, UBool visible)
|
||||
virtual ICUServiceFactory* createSimpleFactory(UObject* obj, const UnicodeString& id, UBool visible, UErrorCode& status)
|
||||
{
|
||||
if (obj && obj->getDynamicClassID() == UnicodeString::getStaticClassID()) {
|
||||
return new SimpleFactory((UnicodeString*)obj, id, visible);
|
||||
|
|
Loading…
Add table
Reference in a new issue