aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks/helpers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/microbenchmarks/helpers.cc')
-rw-r--r--test/cpp/microbenchmarks/helpers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/microbenchmarks/helpers.cc b/test/cpp/microbenchmarks/helpers.cc
index 6550742453..b68c40a79d 100644
--- a/test/cpp/microbenchmarks/helpers.cc
+++ b/test/cpp/microbenchmarks/helpers.cc
@@ -36,7 +36,7 @@
void TrackCounters::Finish(benchmark::State &state) {
std::ostringstream out;
AddToLabel(out, state);
- auto label = out.str();
+ std::string label = out.str();
if (label.length() && label[0] == ' ') {
label = label.substr(1);
}