Browse Source

sys: fix unititialised class member in File.

undefined
Sam Hocevar 10 years ago
parent
commit
e996e953c8
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/sys/file.cpp

+ 4
- 1
src/sys/file.cpp View File

@@ -44,7 +44,10 @@ class FileData
{
friend class File;

FileData() : m_type(StreamType::File) { }
FileData()
: m_refcount(0),
m_type(StreamType::File)
{ }

void Open(StreamType stream)
{


Loading…
Cancel
Save