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:
@ -27,13 +27,13 @@ using namespace lout;
|
||||
|
||||
namespace dw {
|
||||
|
||||
int AlignedTableCell::CLASS_ID = -1;
|
||||
std::intptr_t AlignedTableCell::CLASS_ID = -1;
|
||||
|
||||
AlignedTableCell::AlignedTableCell (AlignedTableCell *ref, bool limitTextWidth):
|
||||
AlignedTextblock (limitTextWidth)
|
||||
{
|
||||
DBG_OBJ_CREATE ("dw::AlignedTableCell");
|
||||
registerName ("dw::AlignedTableCell", &CLASS_ID);
|
||||
registerName ("dw::AlignedTableCell", typeid(*this), &CLASS_ID);
|
||||
|
||||
/** \bug ignoreLine1OffsetSometimes does not work? */
|
||||
//ignoreLine1OffsetSometimes = true;
|
||||
|
||||
Reference in New Issue
Block a user