Skip to content
Prev Previous commit
Next Next commit
++
  • Loading branch information
goderbauer committed Jan 3, 2024
commit e02f7ed0ad7fb15699062ade60974256f4800126
5 changes: 0 additions & 5 deletions packages/pigeon/lib/cpp_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// ignore_for_file: unnecessary_breaks

import 'ast.dart';
import 'functional.dart';
import 'generator.dart';
Expand Down Expand Up @@ -1793,13 +1791,10 @@ void _writeAccessBlock(
switch (access) {
case _ClassAccess.public:
accessLabel = 'public';
break;
case _ClassAccess.protected:
accessLabel = 'protected';
break;
case _ClassAccess.private:
accessLabel = 'private';
break;
}
indent.addScoped(' $accessLabel:', '', body);
}
Expand Down