Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 691825385
  • Loading branch information
Pandemic-Sim Team authored and copybara-github committed Nov 1, 2024
1 parent 1cbdccb commit e8a152e
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions agent_based_epidemic_sim/agent_synthesis/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Libraries for synthesizing agents.

load("//third_party/protobuf/bazel:proto_library.bzl", "proto_library")

licenses(["notice"])

package(default_visibility = [
Expand Down
2 changes: 2 additions & 0 deletions agent_based_epidemic_sim/applications/contact_tracing/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Libraries for contact tracing simulation.

load("//third_party/protobuf/bazel:proto_library.bzl", "proto_library")

licenses(["notice"])

proto_library(
Expand Down
2 changes: 2 additions & 0 deletions agent_based_epidemic_sim/applications/home_work/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Packages for the simplified home-work simulation application.

load("//third_party/protobuf/bazel:proto_library.bzl", "proto_library")

licenses(["notice"])

package(default_visibility = [
Expand Down
1 change: 1 addition & 0 deletions agent_based_epidemic_sim/applications/risk_learning/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Libraries for contact tracing simulation.

load("@com_google_protobuf//:protobuf.bzl", "py_proto_library")
load("//third_party/protobuf/bazel:proto_library.bzl", "proto_library")

package(default_visibility = [
"//agent_based_epidemic_sim:internal",
Expand Down
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
1 change: 1 addition & 0 deletions agent_based_epidemic_sim/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.

load("@com_google_protobuf//:protobuf.bzl", "py_proto_library")
load("//third_party/protobuf/bazel:proto_library.bzl", "proto_library")

licenses(["notice"])

Expand Down
2 changes: 2 additions & 0 deletions agent_based_epidemic_sim/port/deps/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Ported dependencies.

load("//third_party/protobuf/bazel:proto_library.bzl", "proto_library")

licenses(["notice"])

package(default_visibility = [
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
2 changes: 2 additions & 0 deletions agent_based_epidemic_sim/port/testdata/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Test data for ported libraries.

load("//third_party/protobuf/bazel:proto_library.bzl", "proto_library")

licenses(["notice"])

package(default_visibility = ["//visibility:public"])
Expand Down

0 comments on commit e8a152e

Please sign in to comment.