mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
Name union to prevent compiler warning
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