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

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

No files matched your search

+1 -1
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() ) );
}
{