Fixed declaration ordering in queue.hpp.