From Geoff Michel, compile fixes for VS6.0

This commit is contained in:
Robert Osfield
2005-10-26 09:22:13 +00:00
parent 9c51a3db8d
commit be07f48884
6 changed files with 19 additions and 15 deletions

View File

@@ -27,9 +27,11 @@ 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>
{