Skip to content

Commit 0dd194c

Browse files
committed
Merge pull request #7146
1812de9 Name union to prevent compiler warning (Pavel Janík)
2 parents 8e598dc + 1812de9 commit 0dd194c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prevector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class prevector {
140140

141141
private:
142142
size_type _size;
143-
union {
143+
union direct_or_indirect {
144144
char direct[sizeof(T) * N];
145145
struct {
146146
size_type capacity;

0 commit comments

Comments
 (0)