From 8d1b3f044294db603c33365c0ace70a1fca211c3 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 19 Apr 2017 18:30:24 +0200 Subject: Fix: temporary variable assigned to a reference leading to exception Change-Id: I6bf86a4c9fe832e4f7df192aca1ef25d79097e9c 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') diff --git a/CAN-binder/low-can-binding/can/can-bus.hpp b/CAN-binder/low-can-binding/can/can-bus.hpp index 5715c748..764218d8 100644 --- a/CAN-binder/low-can-binding/can/can-bus.hpp +++ b/CAN-binder/low-can-binding/can/can-bus.hpp @@ -49,7 +49,7 @@ class can_bus_t { private: - utils::config_parser_t& conf_file_; ///< configuration file handle used to initialize can_bus_dev_t objects. + utils::config_parser_t conf_file_; ///< configuration file handle used to initialize can_bus_dev_t objects. void can_decode_message(); std::thread th_decoding_; ///< thread that'll handle decoding a can frame -- cgit 1.2.3-korg