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/libraries/core/Game.cc

    r10624 r10765  
    7777
    7878    Game::Game(const std::string& cmdLine)
    79         : gameClock_(NULL)
    80         , core_(NULL)
     79        : gameClock_(nullptr)
     80        , core_(nullptr)
    8181        , bChangingState_(false)
    8282        , bAbort_(false)
    83         , config_(NULL)
     83        , config_(nullptr)
    8484        , destructionHelper_(this)
    8585    {
     
    398398            // Check parent and all its grand parents
    399399            shared_ptr<GameStateTreeNode> currentNode = lastRequestedNode;
    400             while (currentNode != NULL)
     400            while (currentNode != nullptr)
    401401            {
    402402                if (currentNode->name_ == name)
     
    405405                requestedNodes.push_back(currentNode);
    406406            }
    407             if (currentNode == NULL)
     407            if (currentNode == nullptr)
    408408                requestedNodes.clear();
    409409        }
Note: See TracChangeset for help on using the changeset viewer.