Fix MSVC2019 error C2049 when compiling with /clr (#1897)

'fmt::v7': non-inline namespace cannot be reopened as inline
This commit is contained in:
Riccardo Ghetta (larix) 2020-09-23 18:55:41 +02:00 committed by GitHub
parent 2d4fde3a2e
commit 1305cbeb6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@
#ifndef FMT_BEGIN_NAMESPACE #ifndef FMT_BEGIN_NAMESPACE
# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \ # 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_INLINE_NAMESPACE inline namespace
# define FMT_END_NAMESPACE \ # define FMT_END_NAMESPACE \
} \ } \