Skip to content

Commit

Permalink
Make coverage_str compatible with Clang 10 for Bazel Central Registry…
Browse files Browse the repository at this point in the history
…'s Presubmits

PiperOrigin-RevId: 688975151
  • Loading branch information
FuzzTest Team authored and copybara-github committed Oct 28, 2024
1 parent c112d39 commit 4c5f47b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion centipede/distill.cc
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ class DistillingInputFilter {

Stats GetStats() {
absl::MutexLock lock{&mu_};
stats_.coverage_str = (std::stringstream{} << seen_features_).str();
std::stringstream ss;
ss << seen_features_;
stats_.coverage_str = std::move(ss).str();
return stats_;
}

Expand Down

0 comments on commit 4c5f47b

Please sign in to comment.