No unused warning for alias benchmark

This commit is contained in:
Patrick Niklaus 2018-02-06 00:22:23 +00:00 committed by Patrick Niklaus
parent 97d027a173
commit 3d6b667997

View File

@ -50,6 +50,7 @@ int main(int, char **)
TIMER_START(aliased_u32);
for (auto round : util::irange(0, num_rounds))
{
(void) round;
osrm_uint32 sum{0};
osrm_uint32 mult{1};
for (auto idx : indices)
@ -68,6 +69,7 @@ int main(int, char **)
TIMER_START(plain_u32);
for (auto round : util::irange(0, num_rounds))
{
(void) round;
std::uint32_t sum{0};
std::uint32_t mult{1};
for (auto idx : indices)
@ -86,6 +88,7 @@ int main(int, char **)
TIMER_START(aliased_double);
for (auto round : util::irange(0, num_rounds))
{
(void) round;
osrm_double sum{0.0};
osrm_double mult{1.0};
for (auto idx : indices)
@ -105,6 +108,7 @@ int main(int, char **)
TIMER_START(plain_double);
for (auto round : util::irange(0, num_rounds))
{
(void) round;
double sum{0.0};
double mult{1.0};
for (auto idx : indices)