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:
@ -25,13 +25,13 @@
|
||||
|
||||
namespace dw {
|
||||
|
||||
int ListItem::CLASS_ID = -1;
|
||||
std::intptr_t ListItem::CLASS_ID = -1;
|
||||
|
||||
ListItem::ListItem (ListItem *ref, bool limitTextWidth):
|
||||
AlignedTextblock (limitTextWidth)
|
||||
{
|
||||
DBG_OBJ_CREATE ("dw::ListItem");
|
||||
registerName ("dw::ListItem", &CLASS_ID);
|
||||
registerName ("dw::ListItem", typeid(*this), &CLASS_ID);
|
||||
setRefTextblock (ref);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user