commit | 0ccaff9cb6aba24214156dbf1327696e451d49f5 | [log] [tgz] |
---|---|---|
author | Craig Tiller <ctiller@google.com> | Thu May 11 14:44:23 2017 -0700 |
committer | Craig Tiller <ctiller@google.com> | Thu May 11 14:44:23 2017 -0700 |
tree | 25675612d4511a1c5f2fac49bb416d5f23ac8373 | |
parent | 832c607feffb374a68115ab7a5ea51743059939a [diff] |
Explicitly mention std::string
diff --git a/test/cpp/microbenchmarks/helpers.cc b/test/cpp/microbenchmarks/helpers.cc index 6550742..b68c40a 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); }