diff --git a/test/partial_workaround.cpp b/test/partial_workaround.cpp index 9502be4..ba014ae 100755 --- a/test/partial_workaround.cpp +++ b/test/partial_workaround.cpp @@ -90,6 +90,13 @@ void check_partial_workaround() } +#else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION + +void check_partial_workaround() +{ +} + +#endif #include using boost::unit_test::test_suite; @@ -102,14 +109,3 @@ test_suite* init_unit_test_suite( int argc, char* argv[] ) return test; } - -#else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION - -int main() -{ - // always succeed - return 0; -} - -#endif -