fix: more MSVC warnings (#5137)

This commit is contained in:
nerix
2024-01-30 17:28:36 +01:00
committed by GitHub
parent a5e853573f
commit 954e19817c
17 changed files with 59 additions and 47 deletions
+2 -2
View File
@@ -7,12 +7,12 @@
namespace chatterino {
static bool isGuiThread()
inline bool isGuiThread()
{
return QCoreApplication::instance()->thread() == QThread::currentThread();
}
static void assertInGuiThread()
inline void assertInGuiThread()
{
#ifdef _DEBUG
assert(isGuiThread());