mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-01 03:01:09 +02:00
Merge pull request #7146
1812de9
Name union to prevent compiler warning (Pavel Janík)
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user