static_vector.h:29:17: error: writing 10 bytes into a region of size 0 [-Werror=stringop-overflow=] #6270
This commit is contained in:
parent
067332d7b1
commit
7b970f9195
|
@ -41,6 +41,6 @@ struct static_vector {
|
|||
}
|
||||
|
||||
private:
|
||||
size_t m_size = 0;
|
||||
T m_storage[TSlots];
|
||||
size_t m_size = 0;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue