diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-19 14:09:40 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-19 16:19:08 +0200 |
commit | bd5201c8abf77de3aae3183069de558c8dd4c40f (patch) | |
tree | 010bc7249996cc363cc03330799c4e4a154f484a /CAN-binder/low-can-binding/can/can-message-set.cpp | |
parent | 5412b6a4cd9e08b742035dddace225c9bbf5a203 (diff) |
Using reference make std::move useless.
Change-Id: I9b9b6a2fbaecae8acc4f8f1eef0ea8d2f084fb9f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-message-set.cpp')
-rw-r--r-- | CAN-binder/low-can-binding/can/can-message-set.cpp | 4 |
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 dcb859d..5b3a220 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( const std::vector<std::shared_ptr<diagnostic_message_t> >& diagnostic_messages) : index_{index} , name_{name} - , can_messages_definition_{std::move(can_messages_definition)} - , diagnostic_messages_{std::move(diagnostic_messages)} + , can_messages_definition_{can_messages_definition} + , diagnostic_messages_{diagnostic_messages} {} /// @brief Return vector holding all message definition handled by this message set. |