Skip to content
Snippets Groups Projects
Commit 0ccaff9c authored by Craig Tiller's avatar Craig Tiller
Browse files

Explicitly mention std::string

parent 832c607f
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment