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

just use char* overload

parent 0ccaff9c
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ void TrackCounters::Finish(benchmark::State &state) {
if (label.length() && label[0] == ' ') {
label = label.substr(1);
}
state.SetLabel(label);
state.SetLabel(label.c_str());
}
void TrackCounters::AddToLabel(std::ostream &out, benchmark::State &state) {
......
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