You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change Queue.cpp/hpp to just Queue.hpp and define it as a template class that allows any object type to be stored in the Queue
Use a typedef Queue Queue<Command> to ensure backwards compatibility
Note: The non-template Queue which supports Command may be eventually modified to be it's own standalone file (or built on top of Queue) that supports automatic free of the dynamic data pointer.
typedef Queue Queue<Command>to ensure backwards compatibility