[ox/fs] Make toString(FileType) noexcept

This commit is contained in:
Gary Talent 2021-06-03 02:01:14 -05:00
parent a9b5bfe438
commit 3ba88e2e27

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";