Fix missing include of iostream
authorTomas Chvatal <tomas.chvatal@gmail.com>
Wed, 24 Jul 2013 20:59:44 +0000 (22:59 +0200)
committerTomas Chvatal <tomas.chvatal@gmail.com>
Wed, 24 Jul 2013 20:59:44 +0000 (22:59 +0200)
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

tests/zypp/Flags_test.cc

index d6e4666..95dee3c 100644 (file)
@@ -4,6 +4,7 @@
 #include <boost/test/auto_unit_test.hpp>
 #include "zypp/base/Logger.h"
 #include "zypp/base/Flags.h"
+#include <iostream>
 
 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
+}