From 0332e496347f6b563abb86d4ef9650bbd6ebc3e1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 28 May 2014 15:05:57 +0200 Subject: Port server to hugin. --- src/threadsafe_queue_priority.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/threadsafe_queue_priority.h') diff --git a/src/threadsafe_queue_priority.h b/src/threadsafe_queue_priority.h index 8d3cdf1..a310271 100644 --- a/src/threadsafe_queue_priority.h +++ b/src/threadsafe_queue_priority.h @@ -35,8 +35,6 @@ #include #include -#include "info.h" - // Method for use, when comparing Frames in priority queue. template struct priority : std::binary_function { @@ -47,7 +45,7 @@ struct priority : std::binary_function { class ThreadSafeQueuePriority: public ThreadSafeQueue< Frame* > { public: - ThreadSafeQueuePriority(Info *info, unsigned int framenumber = 0); + ThreadSafeQueuePriority(unsigned int framenumber = 0); ~ThreadSafeQueuePriority(); void push(Frame *frame); @@ -55,8 +53,6 @@ public: int size(); private: - Info* info; - unsigned int framenumber; std::priority_queue< Frame*, std::vector, priority > queue; }; -- cgit v1.2.3