mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Merge pull request #7146
1812de9
Name union to prevent compiler warning (Pavel Janík)
This commit is contained in:
commit
0dd194c917
@ -140,7 +140,7 @@ public:
|
||||
|
||||
private:
|
||||
size_type _size;
|
||||
union {
|
||||
union direct_or_indirect {
|
||||
char direct[sizeof(T) * N];
|
||||
struct {
|
||||
size_type capacity;
|
||||
|
Loading…
Reference in New Issue
Block a user