diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-07-21 02:47:40 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-07-21 02:47:40 +0300 |
commit | 07c86bac1804b2484d246dd659a3637efb054491 (patch) | |
tree | 807064f467ea5e40eb5bc4eea3160b2adca4987d /test | |
parent | 0a8640681b87d478506a174b3a5546dbc3da2607 (diff) |
We now use a proper custom NTSTATUS error code category on Windows instead of converting to Win32 codes.
Made a start on replacing all usage of make_*() with Outcome v2.
Diffstat (limited to 'test')
m--------- | test/kerneltest | 0 | ||||
-rw-r--r-- | test/tests/file_handle_create_close/kernel_async_file_handle.cpp.hpp | 2 | ||||
-rw-r--r-- | test/tests/file_handle_create_close/kernel_file_handle.cpp.hpp | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/test/kerneltest b/test/kerneltest -Subproject 964d84491ada0f0e040f22dd1fa2454629a7009 +Subproject 46777d9250a563758daef55f29ffe144415b84c diff --git a/test/tests/file_handle_create_close/kernel_async_file_handle.cpp.hpp b/test/tests/file_handle_create_close/kernel_async_file_handle.cpp.hpp index 4274e082..c760b91f 100644 --- a/test/tests/file_handle_create_close/kernel_async_file_handle.cpp.hpp +++ b/test/tests/file_handle_create_close/kernel_async_file_handle.cpp.hpp @@ -31,7 +31,7 @@ namespace file_handle_create_close AFIO_V2_NAMESPACE::io_service service; auto h = AFIO_V2_NAMESPACE::async_file_handle::async_file(service, "testfile.txt", m, c, AFIO_V2_NAMESPACE::async_file_handle::caching::all, f); if(h) - h.value().close(); + h.value().close().value(); return h; } } diff --git a/test/tests/file_handle_create_close/kernel_file_handle.cpp.hpp b/test/tests/file_handle_create_close/kernel_file_handle.cpp.hpp index 78c39169..f1354c80 100644 --- a/test/tests/file_handle_create_close/kernel_file_handle.cpp.hpp +++ b/test/tests/file_handle_create_close/kernel_file_handle.cpp.hpp @@ -31,7 +31,7 @@ namespace file_handle_create_close //! \todo TODO Use tempfile() once I've implemented it, that works around this being unsafe under mt permutation auto h = AFIO_V2_NAMESPACE::file_handle::file("testfile.txt", m, c, AFIO_V2_NAMESPACE::file_handle::caching::all, f); if(h) - h.value().close(); + h.value().close().value(); return h; } } |