Implicit switch fallthrough refactor

This commit is contained in:
Jack Andersen
2019-02-17 19:45:24 -10:00
parent 54ef2dd73b
commit 9f2bb1b371
5 changed files with 10 additions and 0 deletions

View File

@@ -206,6 +206,7 @@ DirectoryEnumerator::DirectoryEnumerator(SystemStringView path, Mode mode, bool
if (mode == Mode::DirsSorted)
break;
rewinddir(dir);
[[fallthrough]];
}
case Mode::FilesSorted: {
if (mode == Mode::FilesSorted)