init ringbuffer count to 0
authorFelix Domke <tmbinc@elitedvb.net>
Sat, 23 Jul 2005 02:08:26 +0000 (02:08 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sat, 23 Jul 2005 02:08:26 +0000 (02:08 +0000)
lib/base/ringbuffer.h

index e9fc4d68022cf306f2bc66ca77a21c9ea2e1ee83..3118161e8c3b251c9f5d31b244ca40777d4b5571 100644 (file)
@@ -31,6 +31,7 @@ public:
 template <class T>
 queueRingBuffer<T>::queueRingBuffer( unsigned int max )
 {
+       count = 0;
        // constructor for queues based on ring buffers
        // create the first link
        T initialvalue;