From 886a89023b8d8589c6e8d2e2c6de0372e276a297 Mon Sep 17 00:00:00 2001 From: Kiron Date: Tue, 8 Aug 2023 22:51:17 +0800 Subject: [PATCH] Make bazel object const --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index e6bf707..1420be5 100644 --- a/main.cpp +++ b/main.cpp @@ -61,7 +61,7 @@ main(int argc, char** argv) return 1; } - auto bazel = bcc::bazel::create(options.bazel_command, options.bazel_startup_options); + const auto bazel = bcc::bazel::create(options.bazel_command, options.bazel_startup_options); if (options.write_rc_file) { if (!options.rcpath.has_value()) {