mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-4142 Use current the ICU RTTI style in the layout engine
X-SVN-Rev: 16560
This commit is contained in:
parent
daaa78b744
commit
d630f74e6f
1 changed files with 2 additions and 10 deletions
|
@ -247,22 +247,14 @@ public:
|
|||
*
|
||||
* @obsolete ICU 3.0. Use LayoutEngine.h instead since this API will be removed in that release.
|
||||
*/
|
||||
virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
|
||||
virtual UClassID getDynamicClassID() const;
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for this class.
|
||||
*
|
||||
* @obsolete ICU 3.0. Use LayoutEngine.h instead since this API will be removed in that release.
|
||||
*/
|
||||
static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
* The address of this static class variable serves as this class's ID
|
||||
* for ICU "poor man's RTTI".
|
||||
*/
|
||||
static const char fgClassID;
|
||||
static UClassID getStaticClassID();
|
||||
};
|
||||
|
||||
inline ICULayoutEngine::ICULayoutEngine()
|
||||
|
|
Loading…
Add table
Reference in a new issue