From 0ccaff9cb6aba24214156dbf1327696e451d49f5 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Thu, 11 May 2017 14:44:23 -0700 Subject: [PATCH] Explicitly mention std::string --- test/cpp/microbenchmarks/helpers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/microbenchmarks/helpers.cc b/test/cpp/microbenchmarks/helpers.cc index 6550742453a..b68c40a79d4 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); }