Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer emplace_back over push_back #2784

Merged

Conversation

SunBlack
Copy link
Contributor

@SunBlack SunBlack commented Jan 18, 2019

Changes are done by: run-clang-tidy -header-filter='.' -checks='-,modernize-use-emplace' -fix

Closes #2202.

@taketwo taketwo added the c++14 label Jan 19, 2019
@SergioRAgostinho SergioRAgostinho merged commit f7a62ac into PointCloudLibrary:master Jan 24, 2019
@SunBlack SunBlack deleted the modernize-use-emplace branch January 24, 2019 10:07
@taketwo taketwo changed the title Use emplace_back instead of push_back, if possible Prefer emplace_back over push_back Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

General replacement of push_back for emplace_back where appropriate.
3 participants