ICU-4741 virtual functions can't be defined in headers.
X-SVN-Rev: 18889
This commit is contained in:
parent
57431e677c
commit
646b6d59be
@ -199,7 +199,7 @@ public:
|
||||
* @return TRUE if the enumerations are equal. FALSE if not.
|
||||
* @draft ICU 3.6
|
||||
*/
|
||||
virtual UBool operator!=(const StringEnumeration& that)const {return !operator==(that);};
|
||||
virtual UBool operator!=(const StringEnumeration& that)const;
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
@ -112,10 +112,15 @@ StringEnumeration::setChars(const char *s, int32_t length, UErrorCode &status) {
|
||||
return NULL;
|
||||
}
|
||||
UBool
|
||||
StringEnumeration::operator==(const StringEnumeration& that)const{
|
||||
StringEnumeration::operator==(const StringEnumeration& that)const {
|
||||
return getDynamicClassID() == that.getDynamicClassID();
|
||||
}
|
||||
|
||||
UBool
|
||||
StringEnumeration::operator!=(const StringEnumeration& that)const {
|
||||
return !operator==(that);
|
||||
}
|
||||
|
||||
// UStringEnumeration implementation --------------------------------------- ***
|
||||
|
||||
UStringEnumeration::UStringEnumeration(UEnumeration* _uenum) :
|
||||
|
Loading…
Reference in New Issue
Block a user