summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CAN-binder/low-can-binding/can/can-message-set.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CAN-binder/low-can-binding/can/can-message-set.cpp b/CAN-binder/low-can-binding/can/can-message-set.cpp
index cfa640a..0bce918 100644
--- a/CAN-binder/low-can-binding/can/can-message-set.cpp
+++ b/CAN-binder/low-can-binding/can/can-message-set.cpp
@@ -27,8 +27,8 @@ can_message_set_t::can_message_set_t(
std::vector<std::shared_ptr<diagnostic_message_t> > diagnostic_messages)
: index_{index}
, name_{name}
- , can_messages_definition_{can_messages_definition}
- , diagnostic_messages_{diagnostic_messages}
+ , can_messages_definition_{std::move(can_messages_definition)}
+ , diagnostic_messages_{std::move(diagnostic_messages)}
{
for(auto& cmd : can_messages_definition_)
{