From 3fedd1dc0e251e023fb494e6d297891973b8bbbf Mon Sep 17 00:00:00 2001 From: josh Date: Mon, 19 Oct 2009 12:30:02 +0000 Subject: [PATCH] added virtual destructor to remove some compiler warnings git-svn-id: svn://anubis/misc/TextureCache@188 bd8a9e45-a331-0410-811e-c64571078777 --- TextureCache.cc | 8 ++++++-- TextureCache.h | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/TextureCache.cc b/TextureCache.cc index 40ceaa2..a2a8d12 100644 --- a/TextureCache.cc +++ b/TextureCache.cc @@ -1,6 +1,6 @@ -#include -#include +#include +#include #include #include #include @@ -9,6 +9,10 @@ #include "FileLoader/FileLoader.h" using namespace std; +TextureCache::~TextureCache() +{ +} + GLuint TextureCache::load(const FileLoader::Path & path, FileLoader & fileLoader, bool mipmaps, int mode, int quality) diff --git a/TextureCache.h b/TextureCache.h index 597a232..f679ac8 100644 --- a/TextureCache.h +++ b/TextureCache.h @@ -12,6 +12,7 @@ class TextureCache : public TextureLoader { public: + virtual ~TextureCache(); virtual GLuint load(const FileLoader::Path & path, FileLoader & fileLoader, bool mipmaps = true, int mode = GL_DECAL, int quality = 1);