forked from lijiext/lammps
change fmtlib internal namespace from v7 to v7_lmp to avoid clashes when linking with other fmtlib variants
This commit is contained in:
parent
7294936322
commit
d53fc62fb0
|
@ -188,12 +188,12 @@
|
|||
# define FMT_INLINE_NAMESPACE namespace
|
||||
# define FMT_END_NAMESPACE \
|
||||
} \
|
||||
using namespace v7; \
|
||||
using namespace v7_lmp; \
|
||||
}
|
||||
# endif
|
||||
# define FMT_BEGIN_NAMESPACE \
|
||||
namespace fmt { \
|
||||
FMT_INLINE_NAMESPACE v7 {
|
||||
FMT_INLINE_NAMESPACE v7_lmp {
|
||||
#endif
|
||||
|
||||
#if !defined(FMT_HEADER_ONLY) && defined(_WIN32)
|
||||
|
@ -491,7 +491,7 @@ constexpr basic_string_view<typename S::char_type> to_string_view(const S& s) {
|
|||
|
||||
namespace detail {
|
||||
void to_string_view(...);
|
||||
using fmt::v7::to_string_view;
|
||||
using fmt::v7_lmp::to_string_view;
|
||||
|
||||
// Specifies whether S is a string type convertible to fmt::basic_string_view.
|
||||
// It should be a constexpr function but MSVC 2017 fails to compile it in
|
||||
|
|
Loading…
Reference in New Issue