diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-08 12:25:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-08 12:25:41 (GMT) |
commit | a5f7d6a5dc310fbc0273f6d3b1b56b790f841639 (patch) | |
tree | 6a552cc58c256e1c0770f66db320c6c20396c930 /Tests | |
parent | 42a34e4722a39b39d3c89b6ba4aebd05999120ec (diff) | |
download | CMake-a5f7d6a5dc310fbc0273f6d3b1b56b790f841639.zip CMake-a5f7d6a5dc310fbc0273f6d3b1b56b790f841639.tar.gz CMake-a5f7d6a5dc310fbc0273f6d3b1b56b790f841639.tar.bz2 |
try to fix dec cxx
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 3 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 3 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index b08dcdc..8600e10 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/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") diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index b08dcdc..8600e10 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/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") diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index b08dcdc..8600e10 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/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") |