conversion from string literal to char* is deprecated (and unnecessary here)

[SVN r28250]
This commit is contained in:
Jens Maurer
2005-04-14 16:08:58 +00:00
parent 0f4aa23e9c
commit b6c5c86d9c
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ void find_test()
string str1("123abcxXxabcXxXabc321");
string str2("abc");
string str3("");
char* pch1="123abcxxxabcXXXabc321";
const char* pch1="123abcxxxabcXXXabc321";
vector<int> vec1( str1.begin(), str1.end() );
// find results ------------------------------------------------------------//