From 92f6fee49a79c0510b97c0676b5656b10abd4e40 Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Mon, 27 Nov 2017 12:24:28 +0000 Subject: [PATCH] Update mutexes --- expected.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/expected.hpp b/expected.hpp index c1cd6cd..c764efe 100644 --- a/expected.hpp +++ b/expected.hpp @@ -69,7 +69,8 @@ namespace tl { template class expected; -#ifndef TL_OPTIONAL_EXPECTED_MUTEX +#ifndef TL_MONOSTATE_INPLACE_MUTEX +#define TL_MONOSTATE_INPLACE_MUTEX /// \brief Used to represent an expected with no data class monostate {}; @@ -156,7 +157,8 @@ static constexpr unexpect_t unexpect{}; /// \exclude namespace detail { -#ifndef TL_OPTIONAL_EXPECTED_MUTEX +#ifndef TL_TRAITS_MUTEX +#define TL_TRAITS_MUTEX // C++14-style aliases for brevity template using remove_const_t = typename std::remove_const::type; template