Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Code Change #215

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading