]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/arrays/arrays.cpp
fix race condition which could result in assert failures in debug builds and infinite...
[wxWidgets.git] / tests / arrays / arrays.cpp
index bca37379db8053a5ec518916f085b6f0f0ce46c5..3df8126846b9dfbe2500f73ecde5141d84d8742d 100644 (file)
@@ -608,7 +608,12 @@ void DoTestSwap(T v1, T v2, T v3,
 void ArraysTestCase::Swap()
 {
     DoTestSwap("Foo", "Bar", "Baz", (wxArrayString *)NULL);
+
+    // VC6 can't compile this call with mysterious error about in DoTestSwap()
+#ifndef __VISUALC6__
     DoTestSwap(1, 10, 100, (wxArrayInt *)NULL);
+#endif
+
     DoTestSwap(6, 28, 496, (wxArrayLong *)NULL);
 }