Initialize member variables
It's always good practice.
This commit is contained in:
committed by
Chih-Hsuan Yen
parent
f04032e450
commit
96fc2dbd43
+2
-1
@@ -90,7 +90,8 @@ FIXME: There is noticeable decrease in speed, also. Perhaps,
|
||||
HistoryFile::HistoryFile()
|
||||
: ion(-1),
|
||||
length(0),
|
||||
fileMap(nullptr)
|
||||
fileMap(nullptr),
|
||||
readWriteBalance(0)
|
||||
{
|
||||
if (tmpFile.open())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user