int main ()
{
- try{
+ BOOST_TRY{
const char *names[2] = { test::get_process_id_name(), 0 };
for(unsigned int i_name = 0; i_name < sizeof(names)/sizeof(names[0]); ++i_name)
{
}
}
}
- catch(std::exception &exc){
+ BOOST_CATCH(std::exception &exc){
//shared_memory_object::remove(test::get_process_id_name());
std::cout << "Unhandled exception: " << exc.what() << std::endl;
return 1;
- }
+ } BOOST_CATCH_END
return 0;
}