ICU-2729 These classes should be deriving from UMemory

X-SVN-Rev: 12136
This commit is contained in:
George Rhoten 2003-05-28 03:04:04 +00:00
parent c0feadc8e7
commit 9c6d1331d4
3 changed files with 3 additions and 3 deletions

View File

@ -300,7 +300,7 @@ enum StartOfMatch {
//
// 8 bit set, to fast-path latin-1 set membership tests.
//
struct Regex8BitSet {
struct Regex8BitSet : public UMemory {
inline Regex8BitSet();
inline void operator = (const Regex8BitSet &s);
inline void init(const UnicodeSet *src);

View File

@ -28,7 +28,7 @@ U_NAMESPACE_BEGIN
class UnicodeSet;
class RegexStaticSets {
class RegexStaticSets : public UMemory {
public:
static RegexStaticSets *gStaticSets; // Ptr to all lazily initialized constant
// shared sets.

View File

@ -134,7 +134,7 @@ struct CReg;
static UMTX gCRegLock = 0;
static CReg* gCRegHead = 0;
struct CReg {
struct CReg : public UMemory {
CReg *next;
UChar iso[4];
char id[12];