Skip to content

Commit

Permalink
change fmtlib internal namespace from v7 to v7_lmp to avoid clashes w…
Browse files Browse the repository at this point in the history
…hen linking with other fmtlib variants
  • Loading branch information
akohlmey committed Aug 4, 2020
1 parent 7294936 commit d53fc62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fmt/core.h
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d53fc62

Please sign in to comment.