Name union to prevent compiler warning
This commit is contained in:
parent
16f4a6e0fe
commit
1812de9091
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue