From Roger James, reworked the export of std::vector<> on standard types to prevent

problems with .lib being built for all targets under VS7.x
This commit is contained in:
Robert Osfield
2005-11-21 13:51:24 +00:00
parent 8dd631f4ec
commit 8289eecb7e
5 changed files with 31 additions and 23 deletions

View File

@@ -25,14 +25,6 @@ namespace osgText {
class Text;
// export template instances that are used as base classes
#ifdef _MSC_VER
#if (_MSC_VER>1300)
template class __declspec(dllexport) std::allocator<unsigned int>;
template class __declspec(dllexport) std::vector<unsigned int, std::allocator<unsigned int> >;
#endif
#endif
class OSGTEXT_EXPORT String : public osg::Referenced, public std::vector<unsigned int>
{
public: