diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-24 16:44:20 +0900 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-12-02 13:45:19 +0000 |
commit | a8198cce40983d2e3d9385bb7cbc492ea9196026 (patch) | |
tree | f33915684717eb4744a64395e0886573778d8429 /.travis.yml | |
parent | 7606963ffd637aa4a410f931621af3bb982899b7 (diff) |
Fix 'modernize-use-emplace' warnings
std::vector::emplace_back creates an object in a vector and allows to
avoid creating temporary object that is than moved into a vector. This
simplifies code a bit as it is not necessary to call std::make_pair or
use uniform initialization to create a temporary object
Change-Id: I0c5500a818f78d07bc753e25f529c06762cb615c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions