Implement senf::IGNORE and replace all casts-to-void with senf::IGNORE() calls
[senf.git] / senf / PPI / Connectors.test.cc
index 521f476..fe386d8 100644 (file)
@@ -301,8 +301,8 @@ namespace {
         }
 
         void request() {
-            (void) input();
-            (void) input.read();
+            senf::IGNORE( input() );
+            senf::IGNORE( input.read() );
         }
     };
 
@@ -384,7 +384,7 @@ SENF_AUTO_UNIT_TEST(tyepdOutput)
     ppi::connect(source,target);
     ppi::init();
     
-    (void) target.request();
+    senf::IGNORE( target.request() );
     
     BOOST_CHECK( true );
 }