diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-09-21 20:08:21 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-09-21 20:08:21 +0100 |
commit | 972b93f95b5cfdc68e914bea4bcf9dbb037ae23c (patch) | |
tree | 08a93926b0d3a1a47770457808bc201f0a82dcbb /ice | |
parent | Apply same length check to built-in strings (diff) | |
download | slicer-972b93f95b5cfdc68e914bea4bcf9dbb037ae23c.tar.bz2 slicer-972b93f95b5cfdc68e914bea4bcf9dbb037ae23c.tar.xz slicer-972b93f95b5cfdc68e914bea4bcf9dbb037ae23c.zip |
Remove void * in class hierarchy handling
Replaces the map of typename to function pointer taking void * (which
pointed to the std::shared_ptr<T> and cast that to a shared_ptr<I>, thus
invoking undefined behaviour) with a map to a small class hierarchy
which represents that matching the model class and applying dynamic
casts to properly convert as required.
Diffstat (limited to 'ice')
0 files changed, 0 insertions, 0 deletions