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-04-23 11:55:07 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2018-04-23 11:55:07 +0300
commit0c1015593f476fc7c7cc9d497f7b4f6a11819a8e (patch)
treee1c89fb03cdf7f5c382ca7f1f6b73c96be18e1dc /test/tests/file_handle_lock_unlock.cpp
parent12e65bdbd981ac24b91af035cf0e1d73a1b4c4cb (diff)
Make errc AFIO namespace defined
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 db4d266d..59c6ac81 100644
--- a/test/tests/file_handle_lock_unlock.cpp
+++ b/test/tests/file_handle_lock_unlock.cpp
@@ -40,7 +40,7 @@ static inline void TestFileHandleLockUnlock()
}
auto _2 = h2.lock(0, 0, true, std::chrono::seconds(0));
BOOST_REQUIRE(_2.has_error());
- BOOST_CHECK(_2.error() == std::errc::timed_out);
+ BOOST_CHECK(_2.error() == afio::errc::timed_out);
}
// Two non-exclusive locks okay
{
@@ -55,7 +55,7 @@ static inline void TestFileHandleLockUnlock()
BOOST_REQUIRE(!_1.has_error());
auto _2 = h2.lock(0, 0, true, std::chrono::seconds(0));
BOOST_REQUIRE(_2.has_error());
- BOOST_CHECK(_2.error() == std::errc::timed_out);
+ BOOST_CHECK(_2.error() == afio::errc::timed_out);
}
}