summaryrefslogtreecommitdiff
path: root/slice.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-09-21 20:08:21 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-09-21 20:08:21 +0100
commit972b93f95b5cfdc68e914bea4bcf9dbb037ae23c (patch)
tree08a93926b0d3a1a47770457808bc201f0a82dcbb /slice.jam
parentApply same length check to built-in strings (diff)
downloadslicer-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 'slice.jam')
0 files changed, 0 insertions, 0 deletions