mirror of
https://github.com/glest/glest-source.git
synced 2025-08-09 09:56:30 +02:00
- some more memory cleanup
This commit is contained in:
@@ -135,9 +135,6 @@ public:
|
||||
virtual T* read(ifstream& file, const string& path, T* former) const = 0;
|
||||
|
||||
virtual ~FileReader() {
|
||||
/*for (typename vector<FileReader<T> const * >::const_iterator i = fileReaders.begin(); i != fileReaders.end(); ++i) {
|
||||
delete const_cast<FileReader<T>* >(*i); //Segfault
|
||||
}*/
|
||||
}; //Well ... these objects aren't supposed to be destroyed
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user