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-04-12 01:29:57 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-04-12 01:29:57 +0300
commita1ed9cb9af4b6ab50010d1fad35ffd36ac31fb33 (patch)
tree12841b4d525e20f708301fdf40863c23d081cc82 /test/tests/shared_fs_mutex.cpp
parent8273a9a9e05bb9be7b3dc438860d2d96d37bd97a (diff)
Supposedly should now be compiling clean on POSIX, but fails on clang due to clang disliking the <experimental/filesystem> in libstdc++ and GCC 5 ICEs. Lovely.
Diffstat (limited to 'test/tests/shared_fs_mutex.cpp')
-rw-r--r--test/tests/shared_fs_mutex.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tests/shared_fs_mutex.cpp b/test/tests/shared_fs_mutex.cpp
index cfb1731a..b38936fb 100644
--- a/test/tests/shared_fs_mutex.cpp
+++ b/test/tests/shared_fs_mutex.cpp
@@ -500,7 +500,9 @@ static void TestMemoryMapFallback()
auto lk = afio::algorithm::shared_fs_mutex::memory_map<>::fs_mutex_map("lockfile", &fblk);
BOOST_CHECK(lk.has_error());
if(lk.has_error())
+ {
BOOST_CHECK(lk.get_error().value() == EBUSY);
+ }
{
auto fblkh = fblk.lock(afio::algorithm::shared_fs_mutex::shared_fs_mutex::entity_type(0, false)).get();
long oldval = ++shmem->current_shared;