diff --git a/test/initialization_test.cpp b/test/initialization_test.cpp index 9c89a50..c5ea03c 100644 --- a/test/initialization_test.cpp +++ b/test/initialization_test.cpp @@ -10,19 +10,19 @@ // This test verifiies that the error_category vtable does not suffer from // order-of-initialization problems. -#include #include +#include struct foo { foo() { boost::system::error_code ec; - ec == boost::system::errc::permission_denied; + BOOST_TEST_NE( ec, boost::system::errc::permission_denied ); } } f; -int main( int, char ** ) +int main() { - return ::boost::report_errors(); + return boost::report_errors(); }