mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 08:29:00 +02:00
* quick-fix for static initialisation problem in ImageReaders
* fix error in two part NetworkMessageCommandList receive
This commit is contained in:
@@ -265,7 +265,7 @@ T* FileReader<T>::read(const string& filepath, T* object) const {
|
||||
if (!file.is_open()) { //An error occured; TODO: Which one - throw an exception, print error message?
|
||||
throw runtime_error("Could not open file " + filepath);
|
||||
}
|
||||
read(file,filepath,object);
|
||||
return read(file,filepath,object);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user