Check out the MegaGlest Wiki! Anyone can be an editor, and we want you!
the problem seems to beConfig &Config::getInstance(){ static Config config; return config;}
Config &Config::getInstance(){ static Config *config = NULL; if ( !config ) { config = new Config(); } return *config;}