summaryrefslogtreecommitdiff
path: root/desktop/source/app/dispatchwatcher.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-11 08:54:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-11 09:44:12 +0200
commit3428bd5fa3626844355f20997ba690fd04297982 (patch)
tree683256f95828e54edecdd87fbde0ce32a634a834 /desktop/source/app/dispatchwatcher.cxx
parent9c5c905680f7cb58eb3d0fbf25725a50c17896da (diff)
clang-tidy modernize-use-emplace in d*
Change-Id: I79ac90faf24b4c741545e411dbaea7826c2df531 Reviewed-on: https://gerrit.libreoffice.org/42150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/app/dispatchwatcher.cxx')
-rw-r--r--desktop/source/app/dispatchwatcher.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index c33dcaf61c8d..6cd75c0d5f4d 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -435,7 +435,7 @@ bool DispatchWatcher::executeDispatchRequests( const std::vector<DispatchRequest
// Use local vector to store dispatcher because we have to fill our request container before
// we can dispatch. Otherwise it would be possible that statusChanged is called before we dispatched all requests!!
- aDispatches.push_back( DispatchHolder( aURL, xDispatcher ));
+ aDispatches.emplace_back( aURL, xDispatcher );
}
}
else if ( aName.startsWith( "service:" ) )