Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4519 in orxonox.OLD for orxonox/trunk/src/util/resource_manager.cc


Ignore:
Timestamp:
Jun 6, 2005, 2:36:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed all getInstances into inline functions to save some (minor) time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/resource_manager.cc

    r4504 r4519  
    4646   this->imageDirs = new tList<char>();
    4747   this->resourceList = new tList<Resource>();
    48 }
    49 
    50 /**
    51    \returns the Instance to this ResourceManager
    52 */
    53 ResourceManager* ResourceManager::getInstance(void)
    54 {
    55   if (!ResourceManager::singletonRef)
    56     ResourceManager::singletonRef = new ResourceManager();
    57   return ResourceManager::singletonRef;
    5848}
    5949
Note: See TracChangeset for help on using the changeset viewer.