Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-07-21 02:47:40 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-07-21 02:47:40 +0300
commit07c86bac1804b2484d246dd659a3637efb054491 (patch)
tree807064f467ea5e40eb5bc4eea3160b2adca4987d /test/tests/file_handle_create_close
parent0a8640681b87d478506a174b3a5546dbc3da2607 (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/tests/file_handle_create_close')
-rw-r--r--test/tests/file_handle_create_close/kernel_async_file_handle.cpp.hpp2
-rw-r--r--test/tests/file_handle_create_close/kernel_file_handle.cpp.hpp2
2 files changed, 2 insertions, 2 deletions
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;
}
}