static_vector.h:29:17: error: writing 10 bytes into a region of size 0 [-Werror=stringop-overflow=] #6270

This commit is contained in:
rusefillc 2024-05-23 08:00:00 -04:00
parent 067332d7b1
commit 7b970f9195
1 changed files with 1 additions and 1 deletions

View File

@ -41,6 +41,6 @@ struct static_vector {
}
private:
size_t m_size = 0;
T m_storage[TSlots];
size_t m_size = 0;
};