From ea8d71487d789d87a68cb53feb7469fd420c99f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20J=C3=A4rvi?= Date: Tue, 20 Aug 2002 15:51:36 +0000 Subject: [PATCH] workaround for boost test library problem [SVN r14992] --- test/io_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/io_test.cpp b/test/io_test.cpp index ef3d7ee..c50b961 100644 --- a/test/io_test.cpp +++ b/test/io_test.cpp @@ -33,7 +33,8 @@ typedef istringstream useThisIStringStream; #endif int test_main(int argc, char * argv[] ) { - + (void)argc; + (void)argv; using boost::tuples::set_close; using boost::tuples::set_open; using boost::tuples::set_delimiter; @@ -94,7 +95,7 @@ int test_main(int argc, char * argv[] ) { useThisIStringStream is("(100 200 300)"); tuple ti; - BOOST_TEST(is >> ti); + BOOST_TEST(bool(is >> ti)); BOOST_TEST(ti == make_tuple(100, 200, 300));