mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Test files: Replace BOOST_TRY/CATCH family macros with BOOST_INTERPROCESS_TRY/CATCH
This commit is contained in:
@@ -81,7 +81,7 @@ class shared_memory_creation_test_wrapper_w
|
||||
|
||||
int main ()
|
||||
{
|
||||
BOOST_TRY{
|
||||
BOOST_INTERPROCESS_TRY{
|
||||
shared_memory_object::remove(ShmName);
|
||||
test::test_named_creation<shared_memory_creation_test_wrapper>();
|
||||
#ifdef BOOST_INTERPROCESS_WCHAR_NAMED_RESOURCES
|
||||
@@ -102,11 +102,11 @@ int main ()
|
||||
move_assign = boost::move(move_ctor);
|
||||
}
|
||||
}
|
||||
BOOST_CATCH(std::exception &ex){
|
||||
BOOST_INTERPROCESS_CATCH(std::exception &ex){
|
||||
shared_memory_object::remove(ShmName);
|
||||
std::cout << ex.what() << std::endl;
|
||||
return 1;
|
||||
} BOOST_CATCH_END
|
||||
} BOOST_INTERPROCESS_CATCH_END
|
||||
shared_memory_object::remove(ShmName);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user