Update result_error_construct tests to use sys::error_code instead of (erroneously) std::error_code

This commit is contained in:
Peter Dimov
2022-04-22 19:52:19 +03:00
parent 9279001b8c
commit 65da7dfd56
2 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ int main()
BOOST_TEST( !r.has_value() );
BOOST_TEST( r.has_error() );
BOOST_TEST_EQ( r.error(), std::error_code( EINVAL, generic_category() ) );
BOOST_TEST_EQ( r.error(), error_code( EINVAL, generic_category() ) );
}
{