mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix a warning
This commit is contained in:
parent
16637341b9
commit
a909d42b76
@ -201,6 +201,7 @@
|
|||||||
# ifdef FMT_EXPORT
|
# ifdef FMT_EXPORT
|
||||||
# define FMT_API __declspec(dllexport)
|
# define FMT_API __declspec(dllexport)
|
||||||
# define FMT_EXTERN_TEMPLATE_API FMT_API
|
# define FMT_EXTERN_TEMPLATE_API FMT_API
|
||||||
|
# define FMT_EXPORTED
|
||||||
# elif defined(FMT_SHARED)
|
# elif defined(FMT_SHARED)
|
||||||
# define FMT_API __declspec(dllimport)
|
# define FMT_API __declspec(dllimport)
|
||||||
# define FMT_EXTERN_TEMPLATE_API FMT_API
|
# define FMT_EXTERN_TEMPLATE_API FMT_API
|
||||||
|
@ -763,7 +763,7 @@ template <typename T = void> struct FMT_EXTERN_TEMPLATE_API basic_data {
|
|||||||
static const char right_padding_shifts[5];
|
static const char right_padding_shifts[5];
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef FMT_EXPORT
|
#ifndef FMT_EXPORTED
|
||||||
FMT_EXTERN template struct basic_data<void>;
|
FMT_EXTERN template struct basic_data<void>;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user