Ignore:
Timestamp:
Feb 25, 2012, 2:38:42 PM (8 years ago)
Author:
sam
Message:

threads: change Queue to a template so that we can manage the element type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/thread/thread.h

    r1098 r1144  
    3232};
    3333
    34 class Queue : public QueueBase
     34template<typename T, int N = 128> class Queue : public QueueBase<T, N>
    3535{
    3636public:
    37     Queue() : QueueBase() {}
     37    Queue() : QueueBase<T, N>() {}
    3838};
    3939
Note: See TracChangeset for help on using the changeset viewer.