msc stuff
This commit is contained in:
parent
1996f5949f
commit
26ce8d7185
@ -97,7 +97,7 @@ ReturnValue_t LocalPoolDataSetBase::serializeWithValidityBuffer(uint8_t **buffer
|
|||||||
ReturnValue_t result = HasReturnvaluesIF::RETURN_OK;
|
ReturnValue_t result = HasReturnvaluesIF::RETURN_OK;
|
||||||
const uint8_t validityMaskSize = std::ceil(static_cast<float>(fillCount)/8.0);
|
const uint8_t validityMaskSize = std::ceil(static_cast<float>(fillCount)/8.0);
|
||||||
uint8_t* validityPtr = nullptr;
|
uint8_t* validityPtr = nullptr;
|
||||||
#ifdef _WIN32
|
#ifdef _MSC_VER
|
||||||
/* Use a std::vector here because MSVC will (rightly) not create a fixed size array
|
/* Use a std::vector here because MSVC will (rightly) not create a fixed size array
|
||||||
with a non constant size specifier */
|
with a non constant size specifier */
|
||||||
std::vector<uint8_t> validityMask(validityMaskSize);
|
std::vector<uint8_t> validityMask(validityMaskSize);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user