fix invalid return type in bounded_queue<>