mirror of https://github.com/ARMmbed/mbed-os.git
removing virtual destructor for CAN_Message;
it could be compiled using a C compiler where the destructor will not make sense.pull/330/head
parent
f65b7d9077
commit
ca965f836b
|
@ -41,9 +41,6 @@ struct CAN_Message {
|
||||||
unsigned char len; // Length of data field in bytes
|
unsigned char len; // Length of data field in bytes
|
||||||
CANFormat format; // 0 - STANDARD, 1- EXTENDED IDENTIFIER
|
CANFormat format; // 0 - STANDARD, 1- EXTENDED IDENTIFIER
|
||||||
CANType type; // 0 - DATA FRAME, 1 - REMOTE FRAME
|
CANType type; // 0 - DATA FRAME, 1 - REMOTE FRAME
|
||||||
|
|
||||||
virtual ~CAN_Message() {
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
typedef struct CAN_Message CAN_Message;
|
typedef struct CAN_Message CAN_Message;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue