#include "trace_file.hpp"
#include <assert.h>
-#include <string.h>
-#include <zlib.h>
-#include <gzguts.h>
-#include "os.hpp"
-
-#include <iostream>
-
-using namespace Trace;
+using namespace trace;
File::File(const std::string &filename,
File::~File()
{
- close();
+ // We can't invoke any overriden virtual method here anymore
+ assert(!m_isOpened);
}