Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2015, 10:54:34 PM (10 years ago)
Author:
landauf
Message:

replace '0' by 'nullptr'

Location:
code/branches/cpp11_v2/src/orxonox/graphics
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/orxonox/graphics/Backlight.cc

    r9667 r10768  
    5151        RegisterObject(Backlight);
    5252
    53         this->ribbonTrail_ = 0;
    54         this->ribbonTrailNode_ = 0;
     53        this->ribbonTrail_ = nullptr;
     54        this->ribbonTrailNode_ = nullptr;
    5555
    5656        this->width_ = 0;
  • code/branches/cpp11_v2/src/orxonox/graphics/Light.cc

    r9667 r10768  
    5353        RegisterObject(Light);
    5454
    55         this->light_ = 0;
     55        this->light_ = nullptr;
    5656        this->diffuse_ = ColourValue::White;
    5757        this->specular_ = ColourValue::White;
  • code/branches/cpp11_v2/src/orxonox/graphics/Model.cc

    r10765 r10768  
    134134            Level* level = this->getLevel();
    135135
    136             assert( level != 0 );
     136            assert( level != nullptr );
    137137
    138138            MeshLodInformation* lodInfo = level->getLodInfo(this->meshSrc_);
  • code/branches/cpp11_v2/src/orxonox/graphics/ParticleEmitter.cc

    r9950 r10768  
    5252            ThrowException(AbortLoading, "Can't create ParticleEmitter, no scene or no scene manager given.");
    5353
    54         this->particles_ = 0;
     54        this->particles_ = nullptr;
    5555        this->LOD_ = LODParticle::Normal;
    5656
     
    102102        {
    103103            delete this->particles_;
    104             this->particles_ = 0;
     104            this->particles_ = nullptr;
    105105        }
    106106
Note: See TracChangeset for help on using the changeset viewer.