From 11564511c15a38e338f0609d7f3fb4452883a4f5 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 10 May 2017 09:59:00 +0200 Subject: CAN message will not be modified once read. So use const value Change-Id: I81f9a4766d71116e2f3a2af8785b1bd1c69e2c20 Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/can/can-bus.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CAN-binder/low-can-binding/can/can-bus.hpp') diff --git a/CAN-binder/low-can-binding/can/can-bus.hpp b/CAN-binder/low-can-binding/can/can-bus.hpp index 8ed135f..cb9b3de 100644 --- a/CAN-binder/low-can-binding/can/can-bus.hpp +++ b/CAN-binder/low-can-binding/can/can-bus.hpp @@ -51,7 +51,7 @@ class can_bus_t private: utils::config_parser_t conf_file_; ///< configuration file handle used to initialize can_bus_dev_t objects. - int process_can_signals(can_message_t& can_message); + int process_can_signals(const can_message_t& can_message); int process_diagnostic_signals(diagnostic_manager_t& manager, const can_message_t& can_message); void can_decode_message(); -- cgit 1.2.3-korg