[Support] Fix no-stat build. NFC

After 9144e49334 this performs the same
transform inside the other ifdef.
This commit is contained in:
David Green 2022-08-14 23:55:31 +01:00
parent 6afcc4a459
commit b2ac153ba4
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ TEST(StatisticTest, API) {
}
#else
Counter2++;
auto &Range = GetStatistics();
auto Range = GetStatistics();
EXPECT_EQ(Range.begin(), Range.end());
#endif