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>2018-10-17 21:23:18 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2018-10-17 21:23:18 +0300
commitfd12a60d26c80d93185ff0e0da1efa4ddbbf3863 (patch)
treecd4f6676380acf8f5d394494e6b1def7e243e8a8 /test/tests/directory_handle_create_close
parentbc1a0df70b896bc5b1852e8281aced96596b27af (diff)
Lots of changes to support latest WG21 SG14 status code, as the erased code is now move-only, which in turn requires the async i/o completion handlers to all use rvalue refs instead of lvalue refs. This helped find and fix a fair few inefficient corner cases along the way, which is great.
Diffstat (limited to 'test/tests/directory_handle_create_close')
-rw-r--r--test/tests/directory_handle_create_close/runner.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/tests/directory_handle_create_close/runner.cpp b/test/tests/directory_handle_create_close/runner.cpp
index 758f485d..7ae0179b 100644
--- a/test/tests/directory_handle_create_close/runner.cpp
+++ b/test/tests/directory_handle_create_close/runner.cpp
@@ -29,17 +29,17 @@ template <class U> inline void directory_handle_create_close_creation(U &&f)
using namespace KERNELTEST_V1_NAMESPACE;
using LLFIO_V2_NAMESPACE::result;
using directory_handle = LLFIO_V2_NAMESPACE::directory_handle;
- static const result<void> no_such_file_or_directory = LLFIO_V2_NAMESPACE::errc::no_such_file_or_directory;
- static const result<void> file_exists = LLFIO_V2_NAMESPACE::errc::file_exists;
- static const result<void> is_a_directory = LLFIO_V2_NAMESPACE::errc::is_a_directory;
- static const result<void> permission_denied = LLFIO_V2_NAMESPACE::errc::permission_denied;
+ static const il_result<void> no_such_file_or_directory = LLFIO_V2_NAMESPACE::errc::no_such_file_or_directory;
+ static const il_result<void> file_exists = LLFIO_V2_NAMESPACE::errc::file_exists;
+ static const il_result<void> is_a_directory = LLFIO_V2_NAMESPACE::errc::is_a_directory;
+ static const il_result<void> permission_denied = LLFIO_V2_NAMESPACE::errc::permission_denied;
// clang-format off
static typename directory_handle::buffer_type _entries[5];
static typename directory_handle::buffers_type entries(_entries);
static result<typename directory_handle::buffers_type> info(typename result<typename directory_handle::buffers_type>::error_type{});
static const auto permuter(mt_permute_parameters<
- result<void>,
+ il_result<void>,
parameters<
typename directory_handle::mode,
typename directory_handle::creation,
@@ -49,7 +49,7 @@ template <class U> inline void directory_handle_create_close_creation(U &&f)
>,
precondition::filesystem_setup_parameters,
postcondition::filesystem_comparison_structure_parameters,
- postcondition::custom_parameters<result<void>>
+ postcondition::custom_parameters<il_result<void>>
>(
{