Skip to content

Commit

Permalink
Fix a warning (#1712)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jun 5, 2020
1 parent 95c6ac0 commit 795b47a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,9 @@ template <typename T = void> struct FMT_EXTERN_TEMPLATE_API basic_data {
static const char right_padding_shifts[5];
};

#ifndef FMT_EXPORT
FMT_EXTERN template struct basic_data<void>;
#endif

// This is a struct rather than an alias to avoid shadowing warnings in gcc.
struct data : basic_data<> {};
Expand Down

0 comments on commit 795b47a

Please sign in to comment.