Skip to content

Commit bf79556

Browse files
committed
fix(build): fix MSVC compile error
Signed-off-by: so5iso4ka <so5iso4ka@icloud.com>
1 parent e690e20 commit bf79556

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

launcher/minecraft/auth/steps/MSAStep.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ class LoggingOAuthHttpServerReplyHandler final : public QOAuthHttpServerReplyHan
114114
MSAStep::MSAStep(AccountData* data, bool silent) : AuthStep(data), m_silent(silent)
115115
{
116116
m_clientId = APPLICATION->getMSAClientID();
117-
if (true || QCoreApplication::applicationFilePath().startsWith("/tmp/.mount_") || APPLICATION->isPortable() ||
118-
!isSchemeHandlerRegistered())
117+
if constexpr (true || QCoreApplication::applicationFilePath().startsWith("/tmp/.mount_") || APPLICATION->isPortable() ||
118+
!isSchemeHandlerRegistered())
119119

120120
{
121121
auto replyHandler = new LoggingOAuthHttpServerReplyHandler(this);

0 commit comments

Comments
 (0)