mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Disable MSVC warning about multiple copy ctors.
This commit is contained in:
parent
383a8423ef
commit
39cc99e2c2
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_
|
||||
|
Loading…
Reference in New Issue
Block a user