Convert generic_category to std::generic_category

This commit is contained in:
Peter Dimov
2021-09-19 17:08:46 +03:00
parent 5fd2535d9f
commit b1dec88674
2 changed files with 7 additions and 7 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ static void test_generic_category()
int ev = ENOENT;
BOOST_TEST_EQ( bt.message( ev ), st.message( ev ) );
// Under MSVC, it's "no such file or directory" instead of "No such file or directory"
BOOST_TEST_EQ( bt.message( ev ).substr( 1 ), st.message( ev ).substr( 1 ) );
{
boost::system::error_code bc( ev, bt );