From 6bdc663932348992abdbcb8d4b02073c9a85834b Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sun, 28 Oct 2001 04:04:26 +0000 Subject: [PATCH] String literals should be const [SVN r11457] --- test/function_n_test.cpp | 2 +- test/function_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/function_n_test.cpp b/test/function_n_test.cpp index 0de9202..396d4ff 100644 --- a/test/function_n_test.cpp +++ b/test/function_n_test.cpp @@ -536,7 +536,7 @@ test_one_arg() function1 id(&identity_str); BOOST_TEST(id("str") == "str"); - function1 id2(&identity_str); + function1 id2(&identity_str); BOOST_TEST(id2("foo") == "foo"); add_to_obj add_to(5); diff --git a/test/function_test.cpp b/test/function_test.cpp index 2835a1e..976d427 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -536,7 +536,7 @@ test_one_arg() function id(&identity_str); BOOST_TEST(id("str") == "str"); - function id2(&identity_str); + function id2(&identity_str); BOOST_TEST(id2("foo") == "foo"); add_to_obj add_to(5);