Remove not required method isA()
This commit is contained in:
parent
ef2b6aa560
commit
1aef350c2e
@ -13,12 +13,6 @@ CommandAbstract::CommandAbstract(uint64_t target_address, uint64_t router_addres
|
||||
setTimeout(0);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
bool CommandAbstract::isA()
|
||||
{
|
||||
return dynamic_cast<T*>(this) != NULL;
|
||||
}
|
||||
|
||||
const uint8_t* CommandAbstract::getDataPayload()
|
||||
{
|
||||
_payload[_payload_size] = crc8(_payload, _payload_size);
|
||||
|
||||
@ -13,9 +13,6 @@ public:
|
||||
explicit CommandAbstract(uint64_t target_address = 0, uint64_t router_address = 0);
|
||||
virtual ~CommandAbstract() {};
|
||||
|
||||
template <typename T>
|
||||
bool isA();
|
||||
|
||||
const uint8_t* getDataPayload();
|
||||
void dumpDataPayload(Stream& stream);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user