Skip to content

Commit ec31e55

Browse files
committed
Remove benchmark::DoNotOptimize
(cherry picked from commit 858af59)
1 parent b027bbf commit ec31e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/automatic/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ namespace
8989
for (auto _ : state)
9090
{
9191
for (auto const * nodePtr : nodePtrs)
92-
benchmark::DoNotOptimize(tree.GetNodeEntities(*nodePtr));
92+
tree.GetNodeEntities(*nodePtr);
9393
}
9494
SetIterationNo(state, entityNo);
9595
}

0 commit comments

Comments
 (0)