just use char* overload

pull/11102/head
Craig Tiller 8 years ago
parent 0ccaff9cb6
commit 5f24bb121e
  1. 2
      test/cpp/microbenchmarks/helpers.cc

@ -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) {

Loading…
Cancel
Save