aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-04-19 18:30:24 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-04-19 18:30:24 +0200
commit8d1b3f044294db603c33365c0ace70a1fca211c3 (patch)
treee078a8a57e985ca6a07d14dfa1b1b408e2f8a32b /CAN-binder/low-can-binding
parent72c5952a96f5bab01aef02f373a96a2a12f750bb (diff)
Fix: temporary variable assigned to a reference leading to exception
Change-Id: I6bf86a4c9fe832e4f7df192aca1ef25d79097e9c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding')
-rw-r--r--CAN-binder/low-can-binding/can/can-bus.hpp2
1 files changed, 1 insertions, 1 deletions
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