This commit is contained in:
Jean-Philip Desjardins 2017-09-09 18:14:27 -04:00
parent 549cd9b1db
commit bf29c14d45
2 changed files with 4 additions and 9 deletions

View File

@ -8,11 +8,6 @@ CMemoryStateFile::CMemoryStateFile(const char* name, const void* memory, size_t
}
CMemoryStateFile::~CMemoryStateFile()
{
}
void CMemoryStateFile::Write(Framework::CStream& stream)
{
stream.Write(m_memory, m_size);

View File

@ -6,11 +6,11 @@ class CMemoryStateFile : public Framework::CZipFile
{
public:
CMemoryStateFile(const char*, const void*, size_t);
virtual ~CMemoryStateFile();
virtual ~CMemoryStateFile() = default;
virtual void Write(Framework::CStream&);
void Write(Framework::CStream&) override;
private:
const void* m_memory;
size_t m_size;
const void* m_memory = nullptr;
size_t m_size = 0;
};