diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-28 15:05:57 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-28 15:05:57 +0200 |
commit | 0332e496347f6b563abb86d4ef9650bbd6ebc3e1 (patch) | |
tree | 74dadbe6e4f3216c8a3c8570e203aad0187febf3 /src/threadsafe_queue_priority.h | |
parent | 8eb0759e2e8a5405b2dd9e6d72d3bd620b51bee4 (diff) |
Port server to hugin.
Diffstat (limited to 'src/threadsafe_queue_priority.h')
-rw-r--r-- | src/threadsafe_queue_priority.h | 6 |
1 files changed, 1 insertions, 5 deletions
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 <queue> #include <functional> -#include "info.h" - // Method for use, when comparing Frames in priority queue. template <typename T> struct priority : std::binary_function<T, T, bool> { @@ -47,7 +45,7 @@ struct priority : std::binary_function<T, T, bool> { 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<Frame*>, priority<Frame*> > queue; }; |