diff --git a/lexical_cast_test.cpp b/lexical_cast_test.cpp index 7358270..fd51557 100644 --- a/lexical_cast_test.cpp +++ b/lexical_cast_test.cpp @@ -609,7 +609,6 @@ To try_cast_by_ptr(const From& from, const Func& f) { void test_getting_pointer_to_function() { // Just checking that &lexical_cast is not ambiguous - (void)&lexical_cast; BOOST_CHECK_EQUAL(100, try_cast_by_ptr("100", &boost::lexical_cast)); BOOST_CHECK_EQUAL(100, try_cast_by_ptr("100", &boost::lexical_cast)); BOOST_CHECK_EQUAL(std::string("100"), try_cast_by_ptr(100, &boost::lexical_cast));