mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 16:24:55 +00:00
Console: Make State enum an enum class
Makes the enum strongly typed and impervious to implicit conversions.
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
Fatal /**< Non-recoverable error message (Kept for compatibility with logvisor) */
|
||||
};
|
||||
|
||||
enum State { Closed, Closing, Opened, Opening };
|
||||
enum class State { Closed, Closing, Opened, Opening };
|
||||
|
||||
private:
|
||||
CVarManager* m_cvarMgr = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user