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

Loading…
Cancel
Save