I am not sure why the following line returns a copy of the name string: https://github.com/google/benchmark/blob/7f727750846552fb507d778b2b125dd6d32061bf/include/benchmark/benchmark.h#L978 If there is no particular reason, I can make a PR to return by `const auto&`.
I am not sure why the following line returns a copy of the name string:
benchmark/include/benchmark/benchmark.h
Line 978 in 7f72775
If there is no particular reason, I can make a PR to return by
const auto&.