Poor man's RTTI is mostly gone.
Some checks failed
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled

I'm keeping the type-index to name mapping, for now.
This commit is contained in:
2025-08-09 06:31:08 -04:00
parent f69784c518
commit 8549ca489f
26 changed files with 27 additions and 216 deletions

View File

@ -25,13 +25,11 @@
namespace dw {
std::intptr_t ListItem::CLASS_ID = -1;
ListItem::ListItem (ListItem *ref, bool limitTextWidth):
AlignedTextblock (limitTextWidth)
{
DBG_OBJ_CREATE ("dw::ListItem");
registerName ("dw::ListItem", typeid(*this), &CLASS_ID);
registerName ("dw::ListItem", typeid(*this));
setRefTextblock (ref);
}