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-07-03 11:57:35 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2018-07-03 11:57:35 +0300
commit6efe2493a65540d3f484a8b7f27d5298d49c9da4 (patch)
tree55ff8924a57c370c16eb69ab90b35ff7d723bf78 /test/test_kernel_decl.hpp
parent53d415a3b69d2680c15ae2c56a9baf9b149ad71d (diff)
Lots more afio => llfio renaming
Diffstat (limited to 'test/test_kernel_decl.hpp')
-rw-r--r--test/test_kernel_decl.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/test_kernel_decl.hpp b/test/test_kernel_decl.hpp
index b1ec993c..2e9d1df2 100644
--- a/test/test_kernel_decl.hpp
+++ b/test/test_kernel_decl.hpp
@@ -22,19 +22,19 @@ Distributed under the Boost Software License, Version 1.0.
http://www.boost.org/LICENSE_1_0.txt)
*/
-#ifndef AFIO_TEST_KERNEL_DECL_HPP
-#define AFIO_TEST_KERNEL_DECL_HPP
+#ifndef LLFIO_TEST_KERNEL_DECL_HPP
+#define LLFIO_TEST_KERNEL_DECL_HPP
#ifdef BOOST_KERNELTEST_PLEASE_INLINE_TEST_KERNELS
// We have been included as part of an inline test suite
-#define AFIO_TEST_KERNEL_DECL inline
+#define LLFIO_TEST_KERNEL_DECL inline
#else
// We are standalone
#include "../include/afio/afio.hpp"
-#define AFIO_TEST_KERNEL_DECL extern inline QUICKCPPLIB_SYMBOL_EXPORT
+#define LLFIO_TEST_KERNEL_DECL extern inline QUICKCPPLIB_SYMBOL_EXPORT
#endif
-#if AFIO_EXPERIMENTAL_STATUS_CODE
+#if LLFIO_EXPERIMENTAL_STATUS_CODE
#define KERNELTEST_EXPERIMENTAL_STATUS_CODE 1
#endif
#include "kerneltest/include/kerneltest.hpp"
@@ -45,13 +45,13 @@ OUTCOME_V2_NAMESPACE_BEGIN
namespace convert
{
// Provide custom ValueOrError conversion from afio::result<U> into kerneltest::result<T>
- template <class T, class U> struct value_or_error<KERNELTEST_V1_NAMESPACE::result<T>, AFIO_V2_NAMESPACE::result<U>>
+ template <class T, class U> struct value_or_error<KERNELTEST_V1_NAMESPACE::result<T>, LLFIO_V2_NAMESPACE::result<U>>
{
static constexpr bool enable_result_inputs = true;
static constexpr bool enable_outcome_inputs = true;
template <class X, //
- typename = std::enable_if_t<std::is_same<AFIO_V2_NAMESPACE::result<U>, std::decay_t<X>>::value //
+ typename = std::enable_if_t<std::is_same<LLFIO_V2_NAMESPACE::result<U>, std::decay_t<X>>::value //
&& std::is_constructible<T, U>::value>> //
constexpr KERNELTEST_V1_NAMESPACE::result<T>
operator()(X &&src)
@@ -64,13 +64,13 @@ namespace convert
}
};
// Provide custom ValueOrError conversion from afio::result<U> into kerneltest::outcome<T>
- template <class T, class U> struct value_or_error<KERNELTEST_V1_NAMESPACE::outcome<T>, AFIO_V2_NAMESPACE::result<U>>
+ template <class T, class U> struct value_or_error<KERNELTEST_V1_NAMESPACE::outcome<T>, LLFIO_V2_NAMESPACE::result<U>>
{
static constexpr bool enable_result_inputs = true;
static constexpr bool enable_outcome_inputs = true;
template <class X, //
- typename = std::enable_if_t<std::is_same<AFIO_V2_NAMESPACE::result<U>, std::decay_t<X>>::value //
+ typename = std::enable_if_t<std::is_same<LLFIO_V2_NAMESPACE::result<U>, std::decay_t<X>>::value //
&& std::is_constructible<T, U>::value>> //
constexpr KERNELTEST_V1_NAMESPACE::outcome<T>
operator()(X &&src)
@@ -84,8 +84,8 @@ namespace convert
};
}
OUTCOME_V2_NAMESPACE_END
-static_assert(std::is_constructible<KERNELTEST_V1_NAMESPACE::result<int>, AFIO_V2_NAMESPACE::result<int>>::value, "kerneltest::result<int> is not constructible from afio::result<int>!");
-static_assert(std::is_constructible<KERNELTEST_V1_NAMESPACE::outcome<int>, AFIO_V2_NAMESPACE::result<int>>::value, "kerneltest::outcome<int> is not constructible from afio::result<int>!");
+static_assert(std::is_constructible<KERNELTEST_V1_NAMESPACE::result<int>, LLFIO_V2_NAMESPACE::result<int>>::value, "kerneltest::result<int> is not constructible from afio::result<int>!");
+static_assert(std::is_constructible<KERNELTEST_V1_NAMESPACE::outcome<int>, LLFIO_V2_NAMESPACE::result<int>>::value, "kerneltest::outcome<int> is not constructible from afio::result<int>!");
#endif
#endif // namespace