Fix compiler warnings on macOS clang #21
Reference in New Issue
Block a user
Delete Branch "refs/pull/21/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Just some nits but here is what the compiler didn't like:
qAsConstis marked as deprecated (at least in Qt 6.6.0), so they recommend one usesstd::as_const#ifdefrather than#ifforTARGET_OS_Androidin the not-defined case.Here is a sample of the warnings generated before this commit:
Great catch for each of those!
Pull request closed