From: Romain Forlot Date: Wed, 19 Apr 2017 16:30:24 +0000 (+0200) Subject: Fix: temporary variable assigned to a reference leading to exception X-Git-Tag: 5.0.2~331 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=8d1b3f044294db603c33365c0ace70a1fca211c3;p=apps%2Fagl-service-can-low-level.git Fix: temporary variable assigned to a reference leading to exception Change-Id: I6bf86a4c9fe832e4f7df192aca1ef25d79097e9c Signed-off-by: Romain Forlot --- 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