Skip to content

Commit 4407adf

Browse files
committed
fix formatting
1 parent 3b67fc9 commit 4407adf

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

generator/integration_tests/golden/v1/golden_rest_only_connection.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ class GoldenRestOnlyConnection {
177177
virtual Status
178178
Noop(google::protobuf::Empty const& request);
179179

180-
virtual StatusOr<google::protobuf::Empty> WaitForConsistency(google::protobuf::Empty const& request);};
180+
virtual StatusOr<google::protobuf::Empty> WaitForConsistency(google::protobuf::Empty const& request);
181+
};
181182

182183
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
183184
} // namespace golden_v1

generator/internal/connection_generator.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,9 @@ class $connection_class_name$ {
319319
for (auto const& method : bespoke_methods()) {
320320
HeaderPrint("\n");
321321
HeaderPrint(absl::StrCat(
322-
"virtual ", method.return_type(), " ", method.name(),
322+
" virtual ", method.return_type(), " ", method.name(),
323323
absl::StrReplaceAll(method.parameters(), {{", Options opts = {}", ""}}),
324-
";"));
324+
";\n"));
325325
}
326326

327327
// close abstract interface Connection base class

0 commit comments

Comments
 (0)