[ox/fs] Make toString(FileType) noexcept

(synced from 3ba88e2e27)
This commit is contained in:
2021-06-03 02:01:14 -05:00
parent d17a96ca80
commit 1baf246d0d
+1 -1
View File
@@ -18,7 +18,7 @@ enum class FileType: uint8_t {
Directory = 2
};
constexpr const char *toString(FileType t) {
constexpr const char *toString(FileType t) noexcept {
switch (t) {
case FileType::NormalFile:
return "Normal File";