diff options
| author | 2019-11-27 05:07:08 -0500 | |
|---|---|---|
| committer | 2019-11-27 05:11:02 -0500 | |
| commit | a3149536e2b8811595d39a9bec522f2d225406cb (patch) | |
| tree | bd6e8e5e219731e6f664500b6d7f0a850e96d586 /src/core/file_sys | |
| parent | Merge pull request #3164 from ReinUsesLisp/half-cast-float (diff) | |
| download | yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar.gz yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.tar.xz yuzu-a3149536e2b8811595d39a9bec522f2d225406cb.zip | |
file_sys/directory: Make EntryType an enum class
This can trivially be an enum class rather than a regular enum, making
it more strongly typed.
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/directory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/directory.h b/src/core/file_sys/directory.h index 7b5c509fb..0d73eecc9 100644 --- a/src/core/file_sys/directory.h +++ b/src/core/file_sys/directory.h | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | namespace FileSys { | 16 | namespace FileSys { |
| 17 | 17 | ||
| 18 | enum EntryType : u8 { | 18 | enum class EntryType : u8 { |
| 19 | Directory = 0, | 19 | Directory = 0, |
| 20 | File = 1, | 20 | File = 1, |
| 21 | }; | 21 | }; |