From 39cc99e2c2d332e807b90551d634a150a6ed02a1 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Dec 2013 07:00:06 -0800 Subject: [PATCH] Disable MSVC warning about multiple copy ctors. --- format.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/format.h b/format.h index af3e4231..4e06c8ff 100644 --- a/format.h +++ b/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 Print(StringRef format) { # pragma GCC diagnostic pop #endif +#if _MSC_VER +# pragma warning(pop) +#endif + #endif // FORMAT_H_