diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-13 20:54:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-14 15:15:58 +0200 |
commit | 069fd3f54e3f330fd072eff11b34a22e73413c21 (patch) | |
tree | 128fa569dfe9f05f7851933f6463ce89d4e9ce23 /xmlsecurity/source | |
parent | e3e325d0ce4a3520761eeb18aa606c479eafa381 (diff) |
cid#1608236 COPY_INSTEAD_OF_MOVE
Change-Id: I3f46c1d7e68dbf79ddbc9dc50d2735ebe1727b14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170445
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r-- | xmlsecurity/source/helper/xmlsignaturehelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx b/xmlsecurity/source/helper/xmlsignaturehelper.cxx index d69b48ae076b..731405e8ad0b 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx @@ -759,7 +759,7 @@ XMLSignatureHelper::CheckAndUpdateSignatureInformation( // longer EncapsulatedX509Certificate chain datas.emplace_back(tempResult); #endif - certs = encapsulatedCerts; // overwrite this seems easier + certs = std::move(encapsulatedCerts); // overwrite this seems easier } } else |