diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 20:41:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-11 11:37:04 +0200 |
commit | 66e5317a91475ab5f7c796f023431d6a642fd60e (patch) | |
tree | 8a6d107b695cd6a064276b8da1163b021bc018bd /unoidl/source/sourceprovider-parser-requires.hxx | |
parent | bbe9bfee56ce395c5fa1c1173e9909925a3a6393 (diff) |
loplugin:moveparam in unoidl
Change-Id: Id3069cad0b118b5593bb7a0faa9d7e33e5bef168
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123353
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoidl/source/sourceprovider-parser-requires.hxx')
-rw-r--r-- | unoidl/source/sourceprovider-parser-requires.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/sourceprovider-parser-requires.hxx b/unoidl/source/sourceprovider-parser-requires.hxx index 52b8c79e2a93..59c79b39943c 100644 --- a/unoidl/source/sourceprovider-parser-requires.hxx +++ b/unoidl/source/sourceprovider-parser-requires.hxx @@ -108,10 +108,10 @@ struct SourceProviderType { SourceProviderType( OUString const & polymorphicStructTypeTemplateName, SourceProviderEntity const * theEntity, - std::vector<SourceProviderType> const & typeArguments): + std::vector<SourceProviderType>&& typeArguments): type(TYPE_INSTANTIATED_POLYMORPHIC_STRUCT), name(polymorphicStructTypeTemplateName), entity(theEntity), - subtypes(typeArguments) + subtypes(std::move(typeArguments)) { assert(theEntity != nullptr); } explicit SourceProviderType(OUString const & identifier): |