Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2015, 10:25:42 PM (9 years ago)
Author:
landauf
Message:

replace 'NULL' by 'nullptr'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/orxonox/worldentities/WorldEntity.cc

    r10624 r10765  
    563563    void WorldEntity::detachOgreObject(Ogre::MovableObject* object)
    564564    {
    565         object->setUserAny(Ogre::Any(static_cast<OrxonoxClass*>(NULL)));
     565        object->setUserAny(Ogre::Any(static_cast<OrxonoxClass*>(nullptr)));
    566566        this->node_->detachObject(object);
    567567    }
     
    660660    {
    661661        // If physics is enabled scale the attached CollisionShape.
    662         /*if (this->hasPhysics() && this->collisionShape_ != NULL)
     662        /*if (this->hasPhysics() && this->collisionShape_ != nullptr)
    663663        {
    664664            this->collisionShape_->setScale3D(scale);
Note: See TracChangeset for help on using the changeset viewer.