Fix build on mac.

develop
Roman Telezhynskyi 2024-02-20 11:38:46 +02:00
parent ba5c40b15d
commit 6df0ca7fca
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ auto compilerString() -> QString
#endif
#elif defined(Q_CC_CLANG) // must be before GNU, because clang claims to be GNU too
// cppcheck-suppress unassignedVariable
QString const isAppleString;
QString isAppleString; // NOLINT(misc-const-correctness)
#if defined(__apple_build_version__) // Apple clang has other version numbers
isAppleString = " (Apple)"_L1;
#endif