Skip to content

Commit

Permalink
Remove unneeded usage of anonymous struct on clang
Browse files Browse the repository at this point in the history
  • Loading branch information
eliaskosunen authored and vitaut committed Mar 15, 2018
1 parent 3adfaae commit 10b939b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
#endif

// A workaround for gcc 4.4 that doesn't support union members with ctors.
#if FMT_GCC_VERSION && FMT_GCC_VERSION <= 404
#if (FMT_GCC_VERSION && FMT_GCC_VERSION <= 404) && !defined(__clang__)
# define FMT_UNION struct
#else
# define FMT_UNION union
Expand Down

0 comments on commit 10b939b

Please sign in to comment.