Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4519 in orxonox.OLD for orxonox/trunk/src/proto/proto_singleton.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/proto/proto_singleton.cc

    r4320 r4519  
    4747
    4848/**
    49    \returns a Pointer to this Class
    50 */
    51 ProtoSingleton* ProtoSingleton::getInstance(void)
    52 {
    53   if (!ProtoSingleton::singletonRef)
    54     ProtoSingleton::singletonRef = new ProtoSingleton();
    55   return ProtoSingleton::singletonRef;
    56 }
    57 
    58 /**
    5949   \brief standard deconstructor
    6050
Note: See TracChangeset for help on using the changeset viewer.