summaryrefslogtreecommitdiffstats
path: root/include/astra/ArtAlgorithm.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-05-17 11:22:17 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-05-17 11:45:28 +0200
commit73ad6a97531b6bc1d311eceb6ba2770fdf407b81 (patch)
tree94430d9945144b97e61e47d6f5424c2e777f556a /include/astra/ArtAlgorithm.h
parentd60df8bbd0e17016036c279720d6e3464a4d295c (diff)
downloadastra-73ad6a97531b6bc1d311eceb6ba2770fdf407b81.tar.gz
astra-73ad6a97531b6bc1d311eceb6ba2770fdf407b81.tar.bz2
astra-73ad6a97531b6bc1d311eceb6ba2770fdf407b81.tar.xz
astra-73ad6a97531b6bc1d311eceb6ba2770fdf407b81.zip
Avoid defining singleton construction in header file
That way, the call to new is always executed by code inside libastra. This avoids the situation where a singleton gets created by a copy of the constructor linked into an object file outside of libastra, such as a .mex file, which would then also cause the vtable to be outside of libastra. This situation would cause issues when .mex files are unloaded.
Diffstat (limited to 'include/astra/ArtAlgorithm.h')
0 files changed, 0 insertions, 0 deletions