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:
2025-08-09 05:11:24 -04:00
parent abbb7fdbf9
commit c107600de6
26 changed files with 51 additions and 50 deletions

View File

@ -27,13 +27,13 @@ using namespace lout;
namespace dw {
int SimpleTableCell::CLASS_ID = -1;
std::intptr_t SimpleTableCell::CLASS_ID = -1;
SimpleTableCell::SimpleTableCell (bool limitTextWidth):
Textblock (limitTextWidth)
{
DBG_OBJ_CREATE ("dw::SimpleTableCell");
registerName ("dw::SimpleTableCell", &CLASS_ID);
registerName ("dw::SimpleTableCell", typeid(*this), &CLASS_ID);
}
SimpleTableCell::~SimpleTableCell()