diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-01-11 14:14:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-01-12 14:41:41 +0100 |
commit | 6344033ca6409e2a9fda798ef2960bb4984fb1a2 (patch) | |
tree | c5202163a5948b846d1ece699dd58a1c634252a2 /include | |
parent | 13430459aef6384895b2ab0eec88173f2140a690 (diff) |
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@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/BinaryDataContainer.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |