Skip to content

Commit 8339497

Browse files
fix cpp-linter
1 parent 4d37488 commit 8339497

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/iceberg/avro/avro_schema_util.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ std::string SanitizeFieldName(std::string_view field_name) {
8080
}
8181

8282
// Process all characters
83-
for (size_t i = 0; i < field_name.size(); ++i) {
84-
char c = field_name[i];
83+
for (char c : field_name) {
8584
if (std::isalnum(static_cast<unsigned char>(c)) || c == '_') {
8685
result.push_back(c);
8786
} else {

0 commit comments

Comments
 (0)