mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-04 13:14:48 +02:00
Disable MSVC warning about multiple copy ctors.
This commit is contained in:
8
format.h
8
format.h
@@ -62,6 +62,10 @@
|
||||
# pragma GCC diagnostic ignored "-Wlong-long"
|
||||
#endif
|
||||
|
||||
#if _MSC_VER
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable: 4521)
|
||||
#endif
|
||||
namespace fmt {
|
||||
|
||||
namespace internal {
|
||||
@@ -1244,4 +1248,8 @@ inline Formatter<Write> Print(StringRef format) {
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#if _MSC_VER
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#endif // FORMAT_H_
|
||||
|
Reference in New Issue
Block a user