From 44d5dca98b3e043bb10bf2fed9243b652d3e971c Mon Sep 17 00:00:00 2001 From: K-ballo Date: Sun, 26 Jan 2014 19:06:16 -0600 Subject: [PATCH] Fixed test to work with an explicit operator bool --- test/sequence/io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequence/io.cpp b/test/sequence/io.cpp index c035142e..d14f2af3 100644 --- a/test/sequence/io.cpp +++ b/test/sequence/io.cpp @@ -118,7 +118,7 @@ main() useThisIStringStream is("(100 200 300)"); vector ti; - BOOST_TEST((is >> ti) != 0); + BOOST_TEST(!!(is >> ti)); BOOST_TEST(ti == make_vector(100, 200, 300)); // Note that strings are problematic: