refs #1043, make deque be const deque&