diff options
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 19e07e78f..f1bbaa7ea 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -352,10 +352,6 @@ FileWriter::FileWriter(FILE* logfile) { } -void FileWriter::HandleEvent(EventType ev, int) -{ -} - void FileWriter::WriteLogLine(const std::string &line) { if (log == NULL) @@ -370,7 +366,7 @@ void FileWriter::WriteLogLine(const std::string &line) } } -void FileWriter::Close() +FileWriter::~FileWriter() { if (log) { @@ -379,8 +375,3 @@ void FileWriter::Close() log = NULL; } } - -FileWriter::~FileWriter() -{ - this->Close(); -} |