As AllocatedObject<> is just helper glue between AllocationPolicy and objects that use it, and it is completely implemented in header file - it need not be _OgreExport-ed at all.
That will decrease number of exported symbols from 7506 to 7378 - can be checked with nm -arch 386 -g Ogre > exported_symbols.txt - and improve loading time.
Make AllocatedObject<> not _OgreExport-ed
-
- OGRE Team Member
- Posts: 185
- Joined: Mon Mar 24, 2008 4:54 pm
- Location: Kraków, Poland
- x 41
-
- OGRE Retired Team Member
- Posts: 2903
- Joined: Thu Jan 18, 2007 2:48 pm
- x 58
Re: Make AllocatedObject<> not _OgreExport-ed
IIRC we had some problems in the past when it was not exported - Visual Studio, I believe. If the export is removed, a full test on all platforms would be required to ensure that it doesn't break anything.