diff --git a/src/sys/file.cpp b/src/sys/file.cpp index c97b9f96..d62a61be 100644 --- a/src/sys/file.cpp +++ b/src/sys/file.cpp @@ -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) {