assert.hpp (273B)
1 // fuck you boost, use our own assert 2 3 #include "libshit/assert.hpp" 4 5 #undef BOOST_ASSERT 6 #undef BOOST_ASSERT_MSG 7 #undef BOOST_ASSERT_IS_VOID 8 9 #define BOOST_ASSERT LIBSHIT_ASSERT 10 #define BOOST_ASSERT_MSG LIBSHIT_ASSERT_MSG 11 #ifdef NDEBUG 12 #define BOOST_ASSERT_IS_VOID 13 #endif