Fix: temporary variable assigned to a reference leading to exception
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 19 Apr 2017 16:30:24 +0000 (18:30 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 19 Apr 2017 16:30:24 +0000 (18:30 +0200)
Change-Id: I6bf86a4c9fe832e4f7df192aca1ef25d79097e9c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/can/can-bus.hpp

index 5715c74..764218d 100644 (file)
@@ -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