]> git.mxchange.org Git - simgear.git/commitdiff
MSVC++ bug work-around from Frederic Bouvier.
authordavid <david>
Wed, 3 Jul 2002 02:06:23 +0000 (02:06 +0000)
committerdavid <david>
Wed, 3 Jul 2002 02:06:23 +0000 (02:06 +0000)
simgear/misc/props.cxx

index c198858bd5dcad9d58fad316bfd5680912eeec44..6b8ce67753b4e25034d2a74d16acdbd3a8ba608e 100644 (file)
@@ -19,6 +19,7 @@ using std::cerr;
 using std::endl;
 using std::find;
 using std::sort;
+using std::vector;
 
 #else
 
@@ -29,6 +30,13 @@ SG_USING_STD(sort);
 SG_USING_STD(find);
 SG_USING_STD(vector);
 
+#ifdef _MSC_VER
+// MSVC is buggy, and needs something strange here
+SG_USING_STD(vector<SGPropertyNode_ptr>);
+SG_USING_STD(vector<SGPropertyChangeListener *>);
+SG_USING_STD(vector<SGPropertyNode *>);
+#endif
+
 #endif