forked from organicmaps/organicmaps
campaign serialization tests fix
This commit is contained in:
parent
c647b46568
commit
e48e4ff049
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ std::vector<Campaign> GenerateCampaignsV1(size_t number)
|
|||
{
|
||||
std::random_device rd;
|
||||
std::mt19937 gen(rd());
|
||||
std::uniform_int_distribution<> featureIds(1, Limits<uint32_t>::max());
|
||||
std::uniform_int_distribution<uint32_t> featureIds(1, Limits<uint32_t>::max());
|
||||
std::uniform_int_distribution<> icons(1, Limits<uint16_t>::max());
|
||||
std::uniform_int_distribution<> expirationDays(1, Limits<uint8_t>::max());
|
||||
|
||||
|
@ -42,7 +42,7 @@ std::vector<Campaign> GenerateCampaignsV2(size_t number)
|
|||
{
|
||||
int kSeed = 42;
|
||||
std::mt19937 gen(kSeed);
|
||||
std::uniform_int_distribution<> featureIds(1, Limits<uint32_t>::max());
|
||||
std::uniform_int_distribution<uint32_t> featureIds(1, Limits<uint32_t>::max());
|
||||
std::uniform_int_distribution<> icons(1, Limits<uint16_t>::max());
|
||||
std::uniform_int_distribution<> expirationDays(1, Limits<uint8_t>::max());
|
||||
std::uniform_int_distribution<> zoomLevels(10, 17);
|
||||
|
|
Loading…
Add table
Reference in a new issue