diff options
Diffstat (limited to 'brillo/dbus/dbus_property.h')
-rw-r--r-- | brillo/dbus/dbus_property.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/brillo/dbus/dbus_property.h b/brillo/dbus/dbus_property.h index 77b7328..f82759e 100644 --- a/brillo/dbus/dbus_property.h +++ b/brillo/dbus/dbus_property.h @@ -5,6 +5,8 @@ #ifndef LIBBRILLO_BRILLO_DBUS_DBUS_PROPERTY_H_ #define LIBBRILLO_BRILLO_DBUS_DBUS_PROPERTY_H_ +#include <utility> + #include <brillo/dbus/data_serialization.h> #include <dbus/property.h> @@ -42,7 +44,7 @@ class Property : public ::dbus::PropertyBase { // remote object. void Set(const T& value, ::dbus::PropertySet::SetCallback callback) { set_value_ = value; - property_set()->Set(this, callback); + property_set()->Set(this, std::move(callback)); } // Synchronous version of Set(). |