Skip to content

Commit f18990e

Browse files
authored
cleanup(batch): clang-tidy up example (#13070)
1 parent b193fc9 commit f18990e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/batch_logging.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ google::cloud::batch::v1::Job CreateTestJob(
117117
}
118118

119119
void WaitForJob(google::cloud::batch_v1::BatchServiceClient client,
120-
std::string job_name) {
120+
std::string const& job_name) {
121121
std::cout << "\nWaiting for " << job_name << std::flush;
122122
// It takes about 60 seconds to finish a job, so waiting for about 5 minutes
123123
// seems enough.

0 commit comments

Comments
 (0)