Skip to content

Commit

Permalink
Merge pull request #242 from ecatmur/patch-1
Browse files Browse the repository at this point in the history
Use __cpp_concepts feature test macro
  • Loading branch information
ned14 authored Dec 14, 2020
2 parents f9e7477 + ae6a66d commit 1993bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/outcome/convert.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ OUTCOME_V2_NAMESPACE_EXPORT_BEGIN
namespace concepts
{
#if defined(__cpp_concepts)
#if !defined(_MSC_VER) && !defined(__clang__) && (__GNUC__ < 9 || __cplusplus < 202000L)
#if !defined(_MSC_VER) && !defined(__clang__) && (__GNUC__ < 9 || __cpp_concepts < 201907L)
#define OUTCOME_GCC6_CONCEPT_BOOL bool
#else
#define OUTCOME_GCC6_CONCEPT_BOOL
Expand Down

0 comments on commit 1993bb2

Please sign in to comment.