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:
Diffstat (limited to 'include/llfio/v2.0/detail/impl/posix/file_handle.ipp')
-rw-r--r--include/llfio/v2.0/detail/impl/posix/file_handle.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llfio/v2.0/detail/impl/posix/file_handle.ipp b/include/llfio/v2.0/detail/impl/posix/file_handle.ipp
index 070fef1c..a75c1ab9 100644
--- a/include/llfio/v2.0/detail/impl/posix/file_handle.ipp
+++ b/include/llfio/v2.0/detail/impl/posix/file_handle.ipp
@@ -64,7 +64,7 @@ result<file_handle> file_handle::file(const path_handle &base, file_handle::path
dirh = std::move(dh);
}
// Create a randomly named file, and rename it over
- OUTCOME_TRY(rfh, random_file(dirh, _mode, _caching, flags));
+ OUTCOME_TRY(rfh, uniquely_named_file(dirh, _mode, _caching, flags));
auto r = rfh.relink(dirh, path.filename());
if(r)
{