Fix build on mac.
This commit is contained in:
parent
ba5c40b15d
commit
6df0ca7fca
|
@ -87,7 +87,7 @@ auto compilerString() -> QString
|
||||||
#endif
|
#endif
|
||||||
#elif defined(Q_CC_CLANG) // must be before GNU, because clang claims to be GNU too
|
#elif defined(Q_CC_CLANG) // must be before GNU, because clang claims to be GNU too
|
||||||
// cppcheck-suppress unassignedVariable
|
// cppcheck-suppress unassignedVariable
|
||||||
QString const isAppleString;
|
QString isAppleString; // NOLINT(misc-const-correctness)
|
||||||
#if defined(__apple_build_version__) // Apple clang has other version numbers
|
#if defined(__apple_build_version__) // Apple clang has other version numbers
|
||||||
isAppleString = " (Apple)"_L1;
|
isAppleString = " (Apple)"_L1;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user