[Libreoffice-commits] core.git: include/vcl
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 12 13:42:20 UTC 2021
include/vcl/BinaryDataContainer.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6344033ca6409e2a9fda798ef2960bb4984fb1a2
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Jan 11 14:14:40 2021 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Jan 12 14:41:41 2021 +0100
loplugin:noexceptmove
...since 80497c7d81af36f703d122ac78baa26387a5854d "vcl: implement
BinaryDataContainer copy, move + test"
Change-Id: Ifb9fb074d3263686ec498ef889c25f24dd4a4013
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109095
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/include/vcl/BinaryDataContainer.hxx b/include/vcl/BinaryDataContainer.hxx
index f367b640c063..f1a3ada45d72 100644
--- a/include/vcl/BinaryDataContainer.hxx
+++ b/include/vcl/BinaryDataContainer.hxx
@@ -34,7 +34,7 @@ public:
{
}
- BinaryDataContainer(BinaryDataContainer&& rBinaryDataContainer)
+ BinaryDataContainer(BinaryDataContainer&& rBinaryDataContainer) noexcept
: mpData(std::move(rBinaryDataContainer.mpData))
{
}
@@ -45,7 +45,7 @@ public:
return *this;
}
- BinaryDataContainer& operator=(BinaryDataContainer&& rBinaryDataContainer)
+ BinaryDataContainer& operator=(BinaryDataContainer&& rBinaryDataContainer) noexcept
{
mpData = std::move(rBinaryDataContainer.mpData);
return *this;
More information about the Libreoffice-commits
mailing list