From 6b37acf471e09c7365c6f5c492a0b55d319a8c69 Mon Sep 17 00:00:00 2001 From: Paul Hollinsky Date: Tue, 21 Sep 2021 00:23:32 -0400 Subject: [PATCH] Encoder: Remove unused function This is instead handled by an overloaded function in Communication --- include/icsneo/communication/encoder.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/icsneo/communication/encoder.h b/include/icsneo/communication/encoder.h index aa921de..b5f487d 100644 --- a/include/icsneo/communication/encoder.h +++ b/include/icsneo/communication/encoder.h @@ -19,9 +19,6 @@ class Encoder { public: Encoder(device_eventhandler_t report) : report(report) {} bool encode(const Packetizer& packetizer, std::vector& result, const std::shared_ptr& message); - bool encode(const Packetizer& packetizer, std::vector& result, Command cmd, bool boolean) { - return encode(packetizer, result, cmd, std::vector({ (uint8_t)boolean })); - } bool encode(const Packetizer& packetizer, std::vector& result, Command cmd, std::vector arguments = {}); bool supportCANFD = false;