diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-08 16:55:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 08:40:57 +0200 |
commit | 4c09f8e087cae598efbb78759110c03ed10e3a3a (patch) | |
tree | 963bf5ef462eacc2195ffb23d22c6e7e5fd0d627 /chart2/qa/unit | |
parent | 58edb05341494dfaa3d3ce33505b97961d5f2ea9 (diff) |
clang-tidy modernize-use-emplace in c*
Change-Id: I419d1f67ba301050d05981db2a3d6178878684a9
Reviewed-on: https://gerrit.libreoffice.org/42110
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/qa/unit')
-rw-r--r-- | chart2/qa/unit/common_functor_test.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chart2/qa/unit/common_functor_test.cxx b/chart2/qa/unit/common_functor_test.cxx index c630455b4ad8..43fcd0c6ad84 100644 --- a/chart2/qa/unit/common_functor_test.cxx +++ b/chart2/qa/unit/common_functor_test.cxx @@ -38,13 +38,13 @@ private: void CommonFunctorsTest::testAnyToString() { std::vector<css::uno::Any> aInput; - aInput.push_back(css::uno::Any(2.0)); - aInput.push_back(css::uno::Any(10.0)); - aInput.push_back(css::uno::Any(12.0)); - aInput.push_back(css::uno::Any(15.0)); - aInput.push_back(css::uno::Any(25.234)); - aInput.push_back(css::uno::Any(123.456)); - aInput.push_back(css::uno::Any(0.123450)); + aInput.emplace_back(2.0); + aInput.emplace_back(10.0); + aInput.emplace_back(12.0); + aInput.emplace_back(15.0); + aInput.emplace_back(25.234); + aInput.emplace_back(123.456); + aInput.emplace_back(0.123450); std::vector<OUString> aOutput; std::transform(aInput.begin(), aInput.end(), |