summaryrefslogtreecommitdiff
path: root/cppuhelper/source/propertysetmixin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/propertysetmixin.cxx')
-rw-r--r--cppuhelper/source/propertysetmixin.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/cppuhelper/source/propertysetmixin.cxx b/cppuhelper/source/propertysetmixin.cxx
index 030160c65f0f..0d94e7a822a6 100644
--- a/cppuhelper/source/propertysetmixin.cxx
+++ b/cppuhelper/source/propertysetmixin.cxx
@@ -24,6 +24,7 @@
#include <map>
#include <mutex>
#include <set>
+#include <utility>
#include <vector>
#include <com/sun/star/beans/Property.hpp>
@@ -79,8 +80,8 @@ namespace {
struct PropertyData {
explicit PropertyData(
- css::beans::Property const & theProperty, bool thePresent):
- property(theProperty), present(thePresent) {}
+ css::beans::Property theProperty, bool thePresent):
+ property(std::move(theProperty)), present(thePresent) {}
css::beans::Property property;
bool present;