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:
@ -38,12 +38,12 @@ const char *OOFAwareWidget::OOFM_NAME[NUM_OOFM] = {
|
||||
"FLOATS", "ABSOLUTE", "RELATIVE", "FIXED"
|
||||
};
|
||||
|
||||
int OOFAwareWidget::CLASS_ID = -1;
|
||||
std::intptr_t OOFAwareWidget::CLASS_ID = -1;
|
||||
|
||||
OOFAwareWidget::OOFAwareWidget ()
|
||||
{
|
||||
DBG_OBJ_CREATE ("dw::oof::OOFAwareWidget");
|
||||
registerName ("dw::oof::OOFAwareWidget", &CLASS_ID);
|
||||
registerName ("dw::oof::OOFAwareWidget", typeid(*this), &CLASS_ID);
|
||||
|
||||
for (int i = 0; i < NUM_OOFM; i++) {
|
||||
oofContainer[i] = NULL;
|
||||
|
||||
Reference in New Issue
Block a user