Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2008, 1:16:14 AM (16 years ago)
Author:
landauf
Message:

removed some outcommented lines (I did this in a separate commit because we might want to revert some of them)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/orxonox/objects/Projectile.h

    r1682 r1683  
    9797            ClassIdentifier<T>* identifier = ClassIdentifier<T>::getIdentifier();
    9898
    99 /*
    100             SuperFunctionCaller_testfunction* superFunctionCaller = 0;
    101             // Search for an existing caller within all direct children
    102             for (std::set<const Identifier*>::iterator it = identifier->getDirectChildrenIntern().begin(); it != identifier->getDirectChildrenIntern().end(); ++it)
    103                 if (((ClassIdentifier<T>*)(*it))->superFunctionCaller_testfunction_)
    104                     superFunctionCaller = ((ClassIdentifier<T>*)(*it))->superFunctionCaller_testfunction_;
    105             // Check if we've found an existing caller - if not, create a new one
    106             if (!superFunctionCaller)
    107                 superFunctionCaller = new SuperFunctionClassCaller_testfunction<T>;
    108 */
    10999            // Iterate through all children and assign the caller
    110100            for (std::set<const Identifier*>::iterator it = identifier->getDirectChildrenIntern().begin(); it != identifier->getDirectChildrenIntern().end(); ++it)
     
    113103                {
    114104                    std::cout << "adding functionpointer to " << ((ClassIdentifier<T>*)(*it))->getName() << std::endl;
    115 //                    ((ClassIdentifier<T>*)(*it))->superFunctionCaller_testfunction_ = superFunctionCaller;
    116105                    ((ClassIdentifier<T>*)(*it))->superFunctionCaller_testfunction_ = new SuperFunctionClassCaller_testfunction<T>;
    117106                }
Note: See TracChangeset for help on using the changeset viewer.