Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tidy: Eliminate unnecessary copying of objects.
The clang-tidy "unnecessary value param" check pointed out many places where objects were passed by copying when they could be passed by const reference. The vast majority of these fixes convert a QString object into a const QString& reference. There are also a number of other objects that get passed by reference instead of copying. Changes made by the clang-tidy program. https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
- Loading branch information
1 parent
1d0a760
commit 5272f22
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters