try to fix dec cxx

This commit is contained in:
Bill Hoffman 2002-03-08 07:25:41 -05:00
parent 42a34e4722
commit a5f7d6a5dc
3 changed files with 6 additions and 3 deletions

View File

@ -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")

View File

@ -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")

View File

@ -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")