Browse Source

Name union to prevent compiler warning

0.13
Pavel Janík 9 years ago
parent
commit
1812de9091
  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