Fix a warning

This commit is contained in:
Victor Zverovich 2020-06-12 12:45:59 -07:00
parent 16637341b9
commit a909d42b76
2 changed files with 2 additions and 1 deletions

View File

@ -201,6 +201,7 @@
# ifdef FMT_EXPORT
# define FMT_API __declspec(dllexport)
# define FMT_EXTERN_TEMPLATE_API FMT_API
# define FMT_EXPORTED
# elif defined(FMT_SHARED)
# define FMT_API __declspec(dllimport)
# define FMT_EXTERN_TEMPLATE_API FMT_API

View File

@ -763,7 +763,7 @@ template <typename T = void> struct FMT_EXTERN_TEMPLATE_API basic_data {
static const char right_padding_shifts[5];
};
#ifndef FMT_EXPORT
#ifndef FMT_EXPORTED
FMT_EXTERN template struct basic_data<void>;
#endif