Packets: Fix VariantParser invalid parser access bug
[senf.git] / Utils / auto_unit_test.hh
index b2e60ae..95980e3 100644 (file)
@@ -33,8 +33,8 @@
     </pre> (with possibliy adjusted path).
  */
 
-#ifndef HH_auto_unit_test_
-#define HH_auto_unit_test_ 1
+#ifndef HH_SENF_Utils_auto_unit_test_
+#define HH_SENF_Utils_auto_unit_test_ 1
 
 // Custom includes
 #include <boost/version.hpp>
@@ -90,7 +90,7 @@
  */
 #define SENF_CHECK_NO_THROW(expr)                                                                 \
     BOOST_CHECK_NO_THROW(                                                                         \
-        try { (void) expr ; }                                                                     \
+        try { expr ; }                                                                            \
         catch (std::exception & e) { std::cerr << e.what() << std::endl; throw; } )
 
 ///////////////////////////////hh.e////////////////////////////////////////