ICU-2000 Fix some compiler warnings

X-SVN-Rev: 10357
This commit is contained in:
George Rhoten 2002-11-23 00:32:06 +00:00
parent e4ca51215b
commit 64e629ca99

View file

@ -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);