Name union to prevent compiler warning

This commit is contained in:
Pavel Janík 2015-12-01 15:20:35 +01:00
parent 16f4a6e0fe
commit 1812de9091

View File

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