mirror of
https://github.com/glest/glest-source.git
synced 2025-08-09 01:46:28 +02:00
* removed quick-fix for static init problem
This commit is contained in:
@@ -31,8 +31,7 @@ namespace ImageRegisterer {
|
||||
bool registerImageReaders();
|
||||
|
||||
//Since you can't call void methods here, I have used a method doing nothing except initializing the image Readers
|
||||
// this static initialisation relies on other static initialisations. == bad! [was quick-fixed, registerImageReaders() is called from main()]
|
||||
// static bool readersRegistered = registerImageReaders(); //should always return true, this should guarantee that the readers are registered <--> ImageReaders is included anywhere
|
||||
static bool readersRegistered = registerImageReaders(); //should always return true, this should guarantee that the readers are registered <--> ImageReaders is included anywhere
|
||||
}
|
||||
|
||||
}} //end namespace
|
||||
|
Reference in New Issue
Block a user