Initialize all members.
This commit is contained in:
parent
a663689b4c
commit
8fff72ef0e
1 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,10 @@
|
|||
|
||||
#endif
|
||||
|
||||
input_stream::input_stream(const std::string& path) : fd_(-1), path_(path)
|
||||
input_stream::input_stream(const std::string& path) :
|
||||
fd_(-1),
|
||||
path_(path),
|
||||
data_()
|
||||
{
|
||||
#ifndef _WIN32
|
||||
if(path == "") {
|
||||
|
|
Loading…
Add table
Reference in a new issue