summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-13 21:13:00 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-14 15:16:40 +0200
commit309dc58aee022ea804d04f33c80dddefcdafb987 (patch)
treec1931cf60ef8e44034f7eb6d1118915bf9272107 /comphelper/source
parent990490781cdea757a25a14da30e575a6a9dfb6a7 (diff)
cid#1555652 COPY_INSTEAD_OF_MOVE
and cid#1555655 COPY_INSTEAD_OF_MOVE cid#1555658 COPY_INSTEAD_OF_MOVE cid#1555665 COPY_INSTEAD_OF_MOVE cid#1555667 COPY_INSTEAD_OF_MOVE cid#1555670 COPY_INSTEAD_OF_MOVE cid#1555675 COPY_INSTEAD_OF_MOVE cid#1555684 COPY_INSTEAD_OF_MOVE cid#1555687 COPY_INSTEAD_OF_MOVE cid#1556539 COPY_INSTEAD_OF_MOVE cid#1556542 COPY_INSTEAD_OF_MOVE cid#1557448 COPY_INSTEAD_OF_MOVE cid#1557449 COPY_INSTEAD_OF_MOVE Change-Id: I3567528e559bca0031c4f5b46801e3130073633b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170448 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/container/enumerablemap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx
index cc827822d57d..dd42518c5faf 100644
--- a/comphelper/source/container/enumerablemap.cxx
+++ b/comphelper/source/container/enumerablemap.cxx
@@ -353,8 +353,8 @@ namespace comphelper
throw IllegalTypeException(u"Unsupported key type."_ustr, *this );
// init members
- m_aData.m_aKeyType = aKeyType;
- m_aData.m_aValueType = aValueType;
+ m_aData.m_aKeyType = std::move(aKeyType);
+ m_aData.m_aValueType = std::move(aValueType);
m_aData.m_pKeyCompare = std::move(pComparator);
m_aData.m_pValues.emplace( *m_aData.m_pKeyCompare );
m_aData.m_bMutable = bMutable;