ClassIDs are now actually typeinfo name pointers.
I'll see, next, about the `instanceOf` thing, and going with more normal RTTI routes.
This commit is contained in:
@ -58,13 +58,13 @@ void AlignedTextblock::List::unref(int pos)
|
||||
delete this;
|
||||
}
|
||||
|
||||
int AlignedTextblock::CLASS_ID = -1;
|
||||
std::intptr_t AlignedTextblock::CLASS_ID = -1;
|
||||
|
||||
AlignedTextblock::AlignedTextblock (bool limitTextWidth):
|
||||
Textblock (limitTextWidth)
|
||||
{
|
||||
DBG_OBJ_CREATE ("dw::AlignedTextblock");
|
||||
registerName ("dw::AlignedTextblock", &CLASS_ID);
|
||||
registerName ("dw::AlignedTextblock", typeid(*this), &CLASS_ID);
|
||||
}
|
||||
|
||||
void AlignedTextblock::setRefTextblock (AlignedTextblock *ref)
|
||||
|
||||
Reference in New Issue
Block a user