Commit d1a2d4b5 authored by Dominik Charousset's avatar Dominik Charousset

Drop __cpp_lib_byte guards

The monotonic buffer resource already depends on `std::byte`.
Furthermore, some compilers like Clang 7 provide `std::byte` but lack
the feature-check macro.
parent ebd380e1
......@@ -428,8 +428,6 @@ struct inspector_access<std::unique_ptr<error::data>>
// -- inspection support for std::byte -----------------------------------------
#ifdef __cpp_lib_byte
template <>
struct inspector_access<std::byte> : inspector_access_base<std::byte> {
template <class Inspector>
......@@ -441,8 +439,6 @@ struct inspector_access<std::byte> : inspector_access_base<std::byte> {
}
};
#endif
// -- inspection support for variant<Ts...> ------------------------------------
template <class T>
......
......@@ -746,8 +746,6 @@ end object)_";
}
}
#ifdef __cpp_lib_byte
SCENARIO("load inspectors support std::byte") {
GIVEN("a struct with std::byte") {
struct byte_test {
......@@ -773,6 +771,4 @@ end object)_";
}
}
#endif
CAF_TEST_FIXTURE_SCOPE_END()
......@@ -783,8 +783,6 @@ end object)_");
}
}
#ifdef __cpp_lib_byte
SCENARIO("save inspectors support std::byte") {
GIVEN("a struct with std::byte") {
struct byte_test {
......@@ -811,6 +809,4 @@ end object)_";
}
}
#endif
CAF_TEST_FIXTURE_SCOPE_END()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment