Skip to content

Commit f2aeddc

Browse files
authored
Merge pull request #135 from t-bltg/patch-1
Enable if constexpr for c++20
2 parents 5980b41 + 8df1075 commit f2aeddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Fastor/config/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ SOFTWARE.
153153

154154
// C++17 [if constexpr] define
155155
//------------------------------------------------------------------------------------------------//
156-
#if FASTOR_CXX_VERSION == 2017
156+
#if FASTOR_CXX_VERSION >= 2017
157157
#define FASTOR_HAS_IF_CONSTEXPR 1
158158
#define FASTOR_IF_CONSTEXPR if constexpr
159159
#else

0 commit comments

Comments
 (0)