diff --git a/docs/user_guide.md b/docs/user_guide.md index 2ddc8bda..0fe5a4fc 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -1058,7 +1058,7 @@ void BM_spin_empty(benchmark::State& state) { BENCHMARK(BM_spin_empty) ->ComputeStatistics("ratio", [](const std::vector& v) -> double { return std::begin(v) / std::end(v); - }, benchmark::StatisticUnit::Percentage) + }, benchmark::StatisticUnit::kPercentage) ->Arg(512); ```