Browse Source

Merge pull request #7146

1812de9 Name union to prevent compiler warning (Pavel Janík)
0.13
Wladimir J. van der Laan 9 years ago
parent
commit
0dd194c917
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/prevector.h

2
src/prevector.h

@ -140,7 +140,7 @@ public:
private: private:
size_type _size; size_type _size;
union { union direct_or_indirect {
char direct[sizeof(T) * N]; char direct[sizeof(T) * N];
struct { struct {
size_type capacity; size_type capacity;

Loading…
Cancel
Save