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-29 04:15:48 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-07-29 04:15:48 +0300
commitb0d4d742f986629d90054b8bf29599e6cc4c6573 (patch)
tree075e854a6d16b20c7a70e035a291849e50b03a2b /test/tests/file_handle_lock_unlock.cpp
parent0665f2664d1d31ee130de477e3eda615a5baf0f3 (diff)
Now fully compiling, although almost certainly not working.
Diffstat (limited to 'test/tests/file_handle_lock_unlock.cpp')
-rw-r--r--test/tests/file_handle_lock_unlock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tests/file_handle_lock_unlock.cpp b/test/tests/file_handle_lock_unlock.cpp
index 9339435c..91356964 100644
--- a/test/tests/file_handle_lock_unlock.cpp
+++ b/test/tests/file_handle_lock_unlock.cpp
@@ -28,8 +28,8 @@ Distributed under the Boost Software License, Version 1.0.
static inline void TestFileHandleLockUnlock()
{
namespace afio = AFIO_V2_NAMESPACE;
- afio::file_handle h1 = afio::file_handle::file("temp", afio::file_handle::mode::write, afio::file_handle::creation::if_needed, afio::file_handle::caching::temporary, afio::file_handle::flag::unlink_on_close).value();
- afio::file_handle h2 = afio::file_handle::file("temp", afio::file_handle::mode::write, afio::file_handle::creation::if_needed, afio::file_handle::caching::temporary, afio::file_handle::flag::unlink_on_close).value();
+ afio::file_handle h1 = afio::file_handle::file({}, "temp", afio::file_handle::mode::write, afio::file_handle::creation::if_needed, afio::file_handle::caching::temporary, afio::file_handle::flag::unlink_on_close).value();
+ afio::file_handle h2 = afio::file_handle::file({}, "temp", afio::file_handle::mode::write, afio::file_handle::creation::if_needed, afio::file_handle::caching::temporary, afio::file_handle::flag::unlink_on_close).value();
// Two exclusive locks not possible
{
auto _1 = h1.lock(0, 0, true, std::chrono::seconds(0));