diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-13 16:43:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-14 08:29:11 +0200 |
commit | 2d2259c848b43f9f04d5bb6073c00b8ae124534a (patch) | |
tree | 28a3d6274bcb2ffa5b7c55c519fc07b4f2cfacc3 /ucb/qa/cppunit | |
parent | b0b0aef18fff981fa1f4a1539c150260cc526595 (diff) |
clang-tidy modernize-use-emplace in test..vbahelper
Change-Id: Ifbe1dd7c9d5dde33f7419548670434591b1a1d82
Reviewed-on: https://gerrit.libreoffice.org/42258
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/qa/cppunit')
-rw-r--r-- | ucb/qa/cppunit/webdav/webdav_propfindcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx b/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx index 3dba002e9e5f..5a12f05aed5f 100644 --- a/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx +++ b/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx @@ -83,7 +83,7 @@ namespace aRetProp = aPropsNames.getPropertiesNames(); CPPUNIT_ASSERT_EQUAL( true, ( aProps == aRetProp ) ); - aProps[0].properties.push_back( "DAV:getlastmodified" ); + aProps[0].properties.emplace_back("DAV:getlastmodified" ); aRetProp = aPropsNames.getPropertiesNames(); CPPUNIT_ASSERT_EQUAL( false, ( aProps == aRetProp ) ); } |