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:
@ -26,12 +26,12 @@
|
||||
|
||||
namespace dw {
|
||||
|
||||
int Ruler::CLASS_ID = -1;
|
||||
std::intptr_t Ruler::CLASS_ID = -1;
|
||||
|
||||
Ruler::Ruler ()
|
||||
{
|
||||
DBG_OBJ_CREATE ("dw::Ruler");
|
||||
registerName ("dw::Ruler", &CLASS_ID);
|
||||
registerName ("dw::Ruler", typeid(*this), &CLASS_ID);
|
||||
}
|
||||
|
||||
Ruler::~Ruler ()
|
||||
|
||||
Reference in New Issue
Block a user