ICU-4078 Make sure that some functions that need to use __cxa_pure_virtual from g++ are only defined in one object file, especially if they are only used by other class.
X-SVN-Rev: 16389
This commit is contained in:
parent
64a50b501a
commit
106e91de6a
@ -10,6 +10,12 @@
|
|||||||
U_NAMESPACE_BEGIN
|
U_NAMESPACE_BEGIN
|
||||||
|
|
||||||
ForwardCharacterIterator::~ForwardCharacterIterator() {}
|
ForwardCharacterIterator::~ForwardCharacterIterator() {}
|
||||||
|
ForwardCharacterIterator::ForwardCharacterIterator()
|
||||||
|
: UObject()
|
||||||
|
{}
|
||||||
|
ForwardCharacterIterator::ForwardCharacterIterator(const ForwardCharacterIterator &other)
|
||||||
|
: UObject(other)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
CharacterIterator::CharacterIterator()
|
CharacterIterator::CharacterIterator()
|
||||||
|
@ -168,10 +168,10 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
/** Default constructor to be overridden in the implementing class. @stable ICU 2.0*/
|
/** Default constructor to be overridden in the implementing class. @stable ICU 2.0*/
|
||||||
ForwardCharacterIterator() : UObject() {}
|
ForwardCharacterIterator();
|
||||||
|
|
||||||
/** Copy constructor to be overridden in the implementing class. @stable ICU 2.0*/
|
/** Copy constructor to be overridden in the implementing class. @stable ICU 2.0*/
|
||||||
ForwardCharacterIterator(const ForwardCharacterIterator &other) : UObject(other) {}
|
ForwardCharacterIterator(const ForwardCharacterIterator &other);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assignment operator to be overridden in the implementing class.
|
* Assignment operator to be overridden in the implementing class.
|
||||||
|
@ -232,8 +232,6 @@ protected:
|
|||||||
virtual UChar32 getChar32At(int32_t offset) const = 0;
|
virtual UChar32 getChar32At(int32_t offset) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
inline Replaceable::Replaceable() {}
|
|
||||||
|
|
||||||
inline int32_t
|
inline int32_t
|
||||||
Replaceable::length() const {
|
Replaceable::length() const {
|
||||||
return getLength();
|
return getLength();
|
||||||
|
@ -100,6 +100,7 @@ U_NAMESPACE_BEGIN
|
|||||||
due to how AIX works with multiple definitions of virtual functions.
|
due to how AIX works with multiple definitions of virtual functions.
|
||||||
*/
|
*/
|
||||||
Replaceable::~Replaceable() {}
|
Replaceable::~Replaceable() {}
|
||||||
|
Replaceable::Replaceable() {}
|
||||||
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UnicodeString)
|
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UnicodeString)
|
||||||
|
|
||||||
UnicodeString U_EXPORT2
|
UnicodeString U_EXPORT2
|
||||||
|
Loading…
Reference in New Issue
Block a user