Skip to content

Commit

Permalink
Fix MSVC2019 error C2049 when compiling with /clr (#1897)
Browse files Browse the repository at this point in the history
'fmt::v7': non-inline namespace cannot be reopened as inline
  • Loading branch information
rglarix authored Sep 23, 2020
1 parent 2d4fde3 commit 1305cbe
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 @@ -180,7 +180,7 @@

#ifndef FMT_BEGIN_NAMESPACE
# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \
FMT_MSC_VER >= 1900
(FMT_MSC_VER >= 1900 && !_MANAGED)
# define FMT_INLINE_NAMESPACE inline namespace
# define FMT_END_NAMESPACE \
} \
Expand Down

0 comments on commit 1305cbe

Please sign in to comment.