mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
Libraries: Change enums to enum classes in LibAudio
This commit is contained in:
parent
be360db223
commit
d3893a73fb
5 changed files with 22 additions and 22 deletions
|
@ -14,7 +14,7 @@ namespace Audio {
|
|||
|
||||
struct LoaderError {
|
||||
|
||||
enum Category : u32 {
|
||||
enum class Category : u32 {
|
||||
// The error category is unknown.
|
||||
Unknown = 0,
|
||||
IO,
|
||||
|
@ -25,7 +25,7 @@ struct LoaderError {
|
|||
// The loader encountered something in the format that is not yet implemented.
|
||||
Unimplemented,
|
||||
};
|
||||
Category category { Unknown };
|
||||
Category category { Category::Unknown };
|
||||
// Binary index: where in the file the error occurred.
|
||||
size_t index { 0 };
|
||||
FlyString description { String::empty() };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue