mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 22:34:13 +00:00
Fix missing 'break' (#7151)
Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -424,7 +424,7 @@ std::string ConvertCase(const std::string &input, Case output_case,
|
|||||||
case Case::kUpperCamel:
|
case Case::kUpperCamel:
|
||||||
return ConvertCase(CamelToSnake(input), output_case);
|
return ConvertCase(CamelToSnake(input), output_case);
|
||||||
case Case::kDasher: return ConvertCase(DasherToSnake(input), output_case);
|
case Case::kDasher: return ConvertCase(DasherToSnake(input), output_case);
|
||||||
case Case::kKeep: printf("WARNING: Converting from kKeep case.\n");
|
case Case::kKeep: printf("WARNING: Converting from kKeep case.\n"); break;
|
||||||
default:
|
default:
|
||||||
case Case::kSnake:
|
case Case::kSnake:
|
||||||
case Case::kScreamingSnake:
|
case Case::kScreamingSnake:
|
||||||
|
|||||||
Reference in New Issue
Block a user