String literals should be const

[SVN r11457]
This commit is contained in:
Douglas Gregor committed 2001-10-28 04:04:26 +00:00
1 parent 3c5579ccbc
commit 6bdc663932
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -536,7 +536,7 @@ test_one_arg()
function<string, string> id(&identity_str);
BOOST_TEST(id("str") == "str");
function<std::string, char*> id2(&identity_str);
function<std::string, const char*> id2(&identity_str);
BOOST_TEST(id2("foo") == "foo");
add_to_obj add_to(5);