Simplify warning suppression
This commit is contained in:
+2
-8
@@ -192,12 +192,7 @@
|
||||
#endif
|
||||
|
||||
#if !defined(FMT_HEADER_ONLY) && defined(_WIN32)
|
||||
# if FMT_MSC_VER
|
||||
# define FMT_NO_W4275 __pragma(warning(suppress : 4275))
|
||||
# else
|
||||
# define FMT_NO_W4275
|
||||
# endif
|
||||
# define FMT_CLASS_API FMT_NO_W4275
|
||||
# define FMT_CLASS_API FMT_SUPPRESS_MSC_WARNING(4275)
|
||||
# ifdef FMT_EXPORT
|
||||
# define FMT_API __declspec(dllexport)
|
||||
# define FMT_EXTERN_TEMPLATE_API FMT_API
|
||||
@@ -205,8 +200,7 @@
|
||||
# define FMT_API __declspec(dllimport)
|
||||
# define FMT_EXTERN_TEMPLATE_API FMT_API
|
||||
# endif
|
||||
#endif
|
||||
#ifndef FMT_CLASS_API
|
||||
#else
|
||||
# define FMT_CLASS_API
|
||||
#endif
|
||||
#ifndef FMT_API
|
||||
|
||||
Reference in New Issue
Block a user