Skip to content

Commit

Permalink
Merge pull request #7146
Browse files Browse the repository at this point in the history
1812de9 Name union to prevent compiler warning (Pavel Janík)
  • Loading branch information
laanwj committed Dec 2, 2015
2 parents 8e598dc + 1812de9 commit 0dd194c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prevector.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class prevector {

private:
size_type _size;
union {
union direct_or_indirect {
char direct[sizeof(T) * N];
struct {
size_type capacity;
Expand Down

0 comments on commit 0dd194c

Please sign in to comment.