aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks/helpers.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-05-11 14:44:23 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-05-11 14:44:23 -0700
commit0ccaff9cb6aba24214156dbf1327696e451d49f5 (patch)
tree25675612d4511a1c5f2fac49bb416d5f23ac8373 /test/cpp/microbenchmarks/helpers.cc
parent832c607feffb374a68115ab7a5ea51743059939a (diff)
Explicitly mention std::string
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);
}