MSVC FSFW almost compiling

This commit is contained in:
2021-03-07 01:35:55 +01:00
parent cb514e7493
commit e7cd7c8dc3
10 changed files with 38 additions and 24 deletions

View File

@ -7,7 +7,7 @@
template <typename T>
PoolEntry<T>::PoolEntry(std::initializer_list<T> initValue, bool setValid ):
length(initValue.size()), valid(setValid) {
length(static_cast<uint8_t>(initValue.size())), valid(setValid) {
this->address = new T[this->length];
if(initValue.size() == 0) {
std::memset(this->address, 0, this->getByteSize());