From 805e8578ba7f3da50d0985119a3ac2faa3fbbdc7 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Tue, 14 Feb 2023 12:11:02 +0100 Subject: [PATCH] Make chatterino::lua::api::LogLevel an enum class --- src/controllers/plugins/LuaAPI.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/plugins/LuaAPI.hpp b/src/controllers/plugins/LuaAPI.hpp index 1b624a6f2..dfa95447e 100644 --- a/src/controllers/plugins/LuaAPI.hpp +++ b/src/controllers/plugins/LuaAPI.hpp @@ -21,7 +21,7 @@ int g_import(lua_State *L); // Exposed as c2.LogLevel // Represents "calls" to qCDebug, qCInfo ... -enum LogLevel { Debug, Info, Warning, Critical }; +enum class LogLevel { Debug, Info, Warning, Critical }; } // namespace chatterino::lua::api