--- libgig/trunk/src/RIFF.h 2004/04/27 09:06:07 55 +++ libgig/trunk/src/RIFF.h 2005/02/17 02:22:26 384 @@ -2,8 +2,8 @@ * * * libgig - C++ cross-platform Gigasampler format file loader library * * * - * Copyright (C) 2003, 2004 by Christian Schoenebeck * - * * + * Copyright (C) 2003-2005 by Christian Schoenebeck * + * * * * * This library is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -122,7 +122,7 @@ uint32_t ReadUint32(); void* LoadChunkData(); ///< Load the whole chunk body in memory (on success returns a pointer to the data in RAM, else NULL). void ReleaseChunkData(); ///< Free loaded chunk body data from memory (RAM). - ~Chunk(); + virtual ~Chunk(); protected: uint32_t ChunkID; uint32_t ChunkSize; /* in bytes */ @@ -193,7 +193,7 @@ unsigned int CountSubChunks(uint32_t ChunkID); unsigned int CountSubLists(); unsigned int CountSubLists(uint32_t ListType); - ~List(); + virtual ~List(); protected: typedef std::map ChunkMap; typedef std::list ChunkList; @@ -213,7 +213,7 @@ class File : public List { public: File(const String& path); - ~File(); + virtual ~File(); private: unsigned long GetFileSize(); };