Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tidy: Use the emplace_back function where possible.
Instead of calling the STL push_back with an explicitly constructed temporary object, the two calls can be collapsed into a single emplace_back call. This code is less verbose and potentially more efficient. These changes were suggested by the clang-tidy program. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-emplace.html
- Loading branch information
1 parent
d57089c
commit b87f6fd
Showing
5 changed files
with
14 additions
and
15 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
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