Skip to content

Commit

Permalink
Update include/cpp2util.h
Browse files Browse the repository at this point in the history
Co-authored-by: Matthieu HERNANDEZ <25429726+MatthieuHernandez@users.noreply.github.com>
Signed-off-by: Herb Sutter <herb.sutter@gmail.com>
  • Loading branch information
hsutter and MatthieuHernandez authored Oct 10, 2024
1 parent 5d080a2 commit f1bc7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cpp2util.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ constexpr auto gcc_clang_msvc_min_versions(
}


#if defined(_MSC_VER) && !defined(__clang_major__) && !defined(__GNUC__)
#if defined(_MSC_VER) && !defined(__clang_major__)
// MSVC can't handle 'inline constexpr' variables yet in all cases
#define CPP2_CONSTEXPR const
#else
Expand Down

0 comments on commit f1bc7e4

Please sign in to comment.