From 0b956868ebf3e31e38197342f7cd6f2f4a431b5d Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Thu, 9 Jan 2020 10:17:56 +0000 Subject: Rename random_*() handle constructors to uniquely_named_*(), as per LEWG-I feedback. --- include/llfio/v2.0/symlink_handle.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/llfio/v2.0/symlink_handle.hpp') diff --git a/include/llfio/v2.0/symlink_handle.hpp b/include/llfio/v2.0/symlink_handle.hpp index f7bf57c4..722eca4c 100644 --- a/include/llfio/v2.0/symlink_handle.hpp +++ b/include/llfio/v2.0/symlink_handle.hpp @@ -404,7 +404,7 @@ public: */ LLFIO_MAKE_FREE_FUNCTION static LLFIO_HEADERS_ONLY_MEMFUNC_SPEC result symlink(const path_handle &base, path_view_type path, mode _mode = mode::read, creation _creation = creation::open_existing, flag flags = flag::none) noexcept; - /*! Create a symlink handle creating a randomly named symlink on a path. + /*! Create a symlink handle creating a uniquely named symlink on a path. The symlink is opened exclusively with `creation::only_if_not_exist` so it will never collide with nor overwrite any existing symlink. @@ -412,7 +412,7 @@ public: or failure to allocate memory. */ LLFIO_MAKE_FREE_FUNCTION - static inline result random_symlink(const path_handle &dirpath, mode _mode = mode::write, flag flags = flag::none) noexcept + static inline result uniquely_named_symlink(const path_handle &dirpath, mode _mode = mode::write, flag flags = flag::none) noexcept { try { -- cgit v1.2.3