mirror of
https://github.com/TartanLlama/optional.git
synced 2025-08-04 12:14:26 +02:00
Fix ifdef
This commit is contained in:
@@ -317,7 +317,8 @@ TEST_CASE("Monadic operations", "[monadic]") {
|
|||||||
void non_const() {}
|
void non_const() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(TL_EXPECTED_CXX14) && !defined(TL_EXPECTED_GCC49) && !defined(TL_EXPECTED_GCC54)
|
#if defined(TL_OPTIONAL_CXX14) && !defined(TL_OPTIONAL_GCC49) && \
|
||||||
|
!defined(TL_OPTIONAL_GCC54)
|
||||||
SECTION("Issue #1") {
|
SECTION("Issue #1") {
|
||||||
tl::optional<foo> f = foo{};
|
tl::optional<foo> f = foo{};
|
||||||
auto l = [](auto &&x) { x.non_const(); };
|
auto l = [](auto &&x) { x.non_const(); };
|
||||||
|
Reference in New Issue
Block a user