Summary: With MSVC, `seedData.begin()` does not return a `void*`, so get a pointer to the data, and explicitly cast that to a `void*` instead.
Closes #251
Reviewed By: @yfeldblum
Differential Revision:
D2282929
Pulled By: @sgolemon
template <class RNG>
struct SeedData {
SeedData() {
- Random::secureRandom(seedData.begin(), seedData.size() * sizeof(uint32_t));
+ Random::secureRandom(seedData.data(), seedData.size() * sizeof(uint32_t));
}
static constexpr size_t stateSize = StateSize<RNG>::value;