Browse Source

try to fix dec cxx

Bill Hoffman 24 years ago
parent
commit
a5f7d6a5dc

+ 2 - 1
Tests/Complex/Executable/complex.cxx

@@ -475,10 +475,11 @@ int main()
   std::vector<std::string> v2;
   v = v2;
   std::string cachetest = CACHE_TEST_VAR_INTERNAL;
+  v.push_back(cachetest);
+  v2 = v;
   std::string copy = cachetest;
   cachetest.find("bar");
   cachetest.rfind("bar");
-  copy.replace(0,0,0,'a');
   copy.append(cachetest);
   copy = cachetest.substr(0, cachetest.size());
   if(cachetest != "bar")

+ 2 - 1
Tests/ComplexOneConfig/Executable/complex.cxx

@@ -475,10 +475,11 @@ int main()
   std::vector<std::string> v2;
   v = v2;
   std::string cachetest = CACHE_TEST_VAR_INTERNAL;
+  v.push_back(cachetest);
+  v2 = v;
   std::string copy = cachetest;
   cachetest.find("bar");
   cachetest.rfind("bar");
-  copy.replace(0,0,0,'a');
   copy.append(cachetest);
   copy = cachetest.substr(0, cachetest.size());
   if(cachetest != "bar")

+ 2 - 1
Tests/ComplexRelativePaths/Executable/complex.cxx

@@ -475,10 +475,11 @@ int main()
   std::vector<std::string> v2;
   v = v2;
   std::string cachetest = CACHE_TEST_VAR_INTERNAL;
+  v.push_back(cachetest);
+  v2 = v;
   std::string copy = cachetest;
   cachetest.find("bar");
   cachetest.rfind("bar");
-  copy.replace(0,0,0,'a');
   copy.append(cachetest);
   copy = cachetest.substr(0, cachetest.size());
   if(cachetest != "bar")