Make chatterino::lua::api::LogLevel an enum class

This commit is contained in:
Mm2PL 2023-02-14 12:11:02 +01:00
parent 2629c56d5c
commit 805e8578ba

View file

@ -21,7 +21,7 @@ int g_import(lua_State *L);
// Exposed as c2.LogLevel // Exposed as c2.LogLevel
// Represents "calls" to qCDebug, qCInfo ... // Represents "calls" to qCDebug, qCInfo ...
enum LogLevel { Debug, Info, Warning, Critical }; enum class LogLevel { Debug, Info, Warning, Critical };
} // namespace chatterino::lua::api } // namespace chatterino::lua::api