Skip to content

Commit

Permalink
Workaround an MSVC bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Sep 3, 2024
1 parent 4cae2da commit 15694c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,7 @@ template <typename T> class buffer {
template <typename U>
// Workaround for MSVC2019 to fix error C2893: Failed to specialize function
// template 'void fmt::v11::detail::buffer<T>::append(const U *,const U *)'.
#if !FMT_MSC_VERSION || FMT_MSC_VERSION >= 1930
#if !FMT_MSC_VERSION || FMT_MSC_VERSION >= 1940
FMT_CONSTEXPR20
#endif
void
Expand Down

0 comments on commit 15694c9

Please sign in to comment.