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

@ -58,13 +58,11 @@ void AlignedTextblock::List::unref(int pos)
delete this;
}
std::intptr_t AlignedTextblock::CLASS_ID = -1;
AlignedTextblock::AlignedTextblock (bool limitTextWidth):
Textblock (limitTextWidth)
{
DBG_OBJ_CREATE ("dw::AlignedTextblock");
registerName ("dw::AlignedTextblock", typeid(*this), &CLASS_ID);
registerName ("dw::AlignedTextblock", typeid(*this));
}
void AlignedTextblock::setRefTextblock (AlignedTextblock *ref)