Merge pull request #7146

1812de9 Name union to prevent compiler warning (Pavel Janík)
This commit is contained in:
Wladimir J. van der Laan 2015-12-02 12:58:21 +01:00
commit 0dd194c917
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

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;