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/modules/questsystem/GlobalQuest.cc

    r9667 r10765  
    138138    bool GlobalQuest::isStartable(const PlayerInfo* player) const
    139139    {
    140         if(!(this->getParentQuest() == NULL || this->getParentQuest()->isActive(player)))
     140        if(!(this->getParentQuest() == nullptr || this->getParentQuest()->isActive(player)))
    141141            return false;
    142142
     
    198198        The status to be set.
    199199    @return
    200         Returns false if player is NULL.
     200        Returns false if player is nullptr.
    201201    */
    202202    bool GlobalQuest::setStatus(PlayerInfo* player, const QuestStatus::Value & status)
     
    249249            i--;
    250250        }
    251         return NULL;
     251        return nullptr;
    252252    }
    253253
Note: See TracChangeset for help on using the changeset viewer.