Fixed initialization issue in Buffer.
This commit is contained in:
parent
a1ac46093d
commit
9d8da4797f
3 changed files with 8 additions and 0 deletions
|
@ -21,6 +21,8 @@ Buffer::Stream * Buffer::Stream::get(){
|
|||
/// Creates a new DTSC::Stream object, private function so only one instance can exist.
|
||||
Buffer::Stream::Stream(){
|
||||
Strm = new DTSC::Stream(5);
|
||||
readers = 0;
|
||||
writers = 0;
|
||||
}
|
||||
|
||||
/// Do cleanup on delete.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue