Forward declaration needed instead of include the
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 8 Mar 2017 22:46:59 +0000 (23:46 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:10:40 +0000 (17:10 +0100)
whole file. Lighter.

Change-Id: I14af5868679e5c65bda9a4395b040cc28af04059
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/can/can-message.hpp

index 6736a9b..fc85ed9 100644 (file)
 #include <cstdint>
 #include <linux/can.h>
 
-#include "can/can-bus.hpp"
 #include "utils/timer.hpp"
 
 #define CAN_MESSAGE_SIZE 8
 
+class can_bus_dev_t;
+
 /**
  * @enum can_message_format
  * @brief The ID format for a CAN message.