Update QueueTemplate.hpp