diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-04-23 11:55:07 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-04-23 11:55:07 +0300 |
commit | 0c1015593f476fc7c7cc9d497f7b4f6a11819a8e (patch) | |
tree | e1c89fb03cdf7f5c382ca7f1f6b73c96be18e1dc /test/tests/file_handle_lock_unlock.cpp | |
parent | 12e65bdbd981ac24b91af035cf0e1d73a1b4c4cb (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.cpp | 4 |
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); } } |