Unverified Commit d53fc62f authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

change fmtlib internal namespace from v7 to v7_lmp to avoid clashes when...

change fmtlib internal namespace from v7 to v7_lmp to avoid clashes when linking with other fmtlib variants
parent 72949363
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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