Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Clang Robot committed Aug 22, 2024
1 parent 9cfdae3 commit f061d07
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ class Solution {
if (corridor[i] == 'S') {
chairs++;

while (++i < corridor.size() && corridor[i] != 'S');
while (++i < corridor.size() && corridor[i] != 'S')
;
// the while increment i and check each character in the corridor
// string. the loop continues until the end of the string or until the
// next chair.
Expand Down

0 comments on commit f061d07

Please sign in to comment.