Skip to content

Commit

Permalink
fix comparison mismatch on maps
Browse files Browse the repository at this point in the history
  • Loading branch information
petitlapin committed Dec 23, 2024
1 parent 3bfd4f0 commit e240d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checks/manuallevel/qt6-deprecated-api-fixes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ void Qt6DeprecatedAPIFixes::VisitStmt(clang::Stmt *stmt)
}
emitWarning(warningLocation, message, fixits);
return;
} else if (clazy::startsWith(className, "QGraphicsView") && qGraphicsViewFunctions.find(functionName) != qMapFunctions.end()) {
} else if (clazy::startsWith(className, "QGraphicsView") && qGraphicsViewFunctions.find(functionName) != qGraphicsViewFunctions.end()) {
warningForGraphicsViews(functionName, message);
emitWarning(warningLocation, message, fixits);
return;
Expand Down

0 comments on commit e240d70

Please sign in to comment.