Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 666881556
  • Loading branch information
ericsalo authored and copybara-github committed Dec 2, 2024
1 parent 1cbdccb commit f62389c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ std::unique_ptr<Agent> MakeAgentInState(HealthState::State state,
TEST(SummaryObserverTest, CreationOfSummaryObserverFactoryCanOverwriteFiles) {
std::string summary_filename =
absl::StrCat(getenv("TEST_TMPDIR"), "/", "summary");
{ SummaryObserverFactory old_factory(summary_filename); }
{
SummaryObserverFactory old_factory(summary_filename);
}
{
SummaryObserverFactory factory(summary_filename);
Timestep timestep(absl::UnixEpoch(), absl::Hours(24));
Expand Down
2 changes: 1 addition & 1 deletion agent_based_epidemic_sim/port/deps/status_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class ABSL_MUST_USE_RESULT StatusBuilder {
}
template <typename Adaptor>
auto With(Adaptor&& adaptor) && -> decltype(std::forward<Adaptor>(adaptor)(
std::move(*this))) {
std::move(*this))) {
return std::forward<Adaptor>(adaptor)(std::move(*this));
}

Expand Down

0 comments on commit f62389c

Please sign in to comment.