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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user