Skip to content

Commit

Permalink
Workaround for #2478 (#2482)
Browse files Browse the repository at this point in the history
_MSC_VER 1911 (Visual Studio 2017 15.3)
  • Loading branch information
mmarkeloff authored Sep 2, 2021
1 parent ee63f5f commit 2520f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
// GCC doesn't allow throw in constexpr until version 6 (bug 67371).
#ifndef FMT_USE_CONSTEXPR
# define FMT_USE_CONSTEXPR \
(FMT_HAS_FEATURE(cxx_relaxed_constexpr) || FMT_MSC_VER >= 1910 || \
(FMT_HAS_FEATURE(cxx_relaxed_constexpr) || FMT_MSC_VER >= 1912 || \
(FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L)) && \
!FMT_NVCC && !FMT_ICC_VERSION
#endif
Expand Down

0 comments on commit 2520f41

Please sign in to comment.