2
0
Эх сурвалжийг харах

*** empty log message ***

David Rose 24 жил өмнө
parent
commit
ed1b771c26

+ 2 - 0
dtool/src/dtoolutil/vector_src.cxx

@@ -32,11 +32,13 @@
 //
 // They will automatically be undefined at the end of the file.
 
+/*
 void 
 insert_into_vector(NAME &vec, NAME::iterator where,
 		   NAME::const_pointer begin, NAME::const_pointer end) {
   vec.insert(where, begin, end);
 }
+*/
 
 #undef EXPCL
 #undef EXPTP

+ 4 - 0
dtool/src/dtoolutil/vector_src.h

@@ -40,11 +40,13 @@
 // With the Dinkum library, we must first export the base class,
 // _Vector_val.
     #define VV_BASE std::_Vector_val<TYPE, std::allocator<TYPE> >
+#pragma warning (disable : 4231)
 EXPORT_TEMPLATE_CLASS(EXPCL, EXPTP, VV_BASE)
     #undef VV_BASE
   #endif
 
 // Now we can export the vector class.
+#pragma warning (disable : 4231)
 EXPORT_TEMPLATE_CLASS(EXPCL, EXPTP, std::vector<TYPE>)
 
 #endif
@@ -57,9 +59,11 @@ typedef std::vector<TYPE> NAME;
   // the Dinkum STL implementation uses member templates to handle
   // this, but we cannot export the member templates from the DLL.
 
+/*
 extern EXPCL void
 insert_into_vector(NAME &vec, NAME::iterator where,
 		   const TYPE *begin, const TYPE *end);
+*/
 
 
 #undef EXPCL