mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-01-03 19:33:47 +01:00
Replace template by abstract class
This commit is contained in:
@@ -16,8 +16,7 @@ public:
|
||||
bool isQueueEmpty();
|
||||
bool isInitialized();
|
||||
|
||||
template <typename T>
|
||||
void enqueCommand(std::shared_ptr<T> cmd)
|
||||
void enqueCommand(std::shared_ptr<CommandAbstract> cmd)
|
||||
{
|
||||
_commandQueue.push(cmd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user