diff options
author | 2017-05-11 14:44:23 -0700 | |
---|---|---|
committer | 2017-05-11 14:44:23 -0700 | |
commit | 0ccaff9cb6aba24214156dbf1327696e451d49f5 (patch) | |
tree | 25675612d4511a1c5f2fac49bb416d5f23ac8373 /test/cpp/microbenchmarks/helpers.cc | |
parent | 832c607feffb374a68115ab7a5ea51743059939a (diff) |
Explicitly mention std::string
Diffstat (limited to 'test/cpp/microbenchmarks/helpers.cc')
-rw-r--r-- | test/cpp/microbenchmarks/helpers.cc | 2 |
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); } |