Replace template by abstract class
This commit is contained in:
parent
22d9b128b9
commit
188a6cf39d
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user