From: Tomas Chvatal Date: Wed, 24 Jul 2013 20:59:44 +0000 (+0200) Subject: Fix missing include of iostream X-Git-Tag: upstream/14.27.0~255^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0d745096444c0ee9b74068d07cb68d79caf07ec;p=platform%2Fupstream%2Flibzypp.git Fix missing include of iostream As without it the test just happily fails to compile due to this: tests/zypp/Flags_test.cc:9:12: error: ‘std::cout’ has not been declared --- diff --git a/tests/zypp/Flags_test.cc b/tests/zypp/Flags_test.cc index d6e4666..95dee3c 100644 --- a/tests/zypp/Flags_test.cc +++ b/tests/zypp/Flags_test.cc @@ -4,6 +4,7 @@ #include #include "zypp/base/Logger.h" #include "zypp/base/Flags.h" +#include using boost::unit_test::test_case; using std::cout; @@ -80,4 +81,4 @@ BOOST_AUTO_TEST_CASE(flags) t.unsetFlag( T_2 ); BOOST_CHECK( t.testFlag( T_1 ) ); t.setFlag( T_1, false ); BOOST_CHECK( t.testFlag( T_0 ) ); t.setFlag( T_3, true ); BOOST_CHECK( t.testFlag( T_3 ) ); -} \ No newline at end of file +}