Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 13, 2016, 10:19:21 PM (8 years ago)
Author:
landauf
Message:

return const-ref to collections instead of pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v3/src/orxonox/worldentities/pawns/Pawn.cc

    r11054 r11059  
    513513    }
    514514
    515     std::vector<WeaponPack *> * Pawn::getAllWeaponPacks()
    516     {
    517         if (this->weaponSystem_)
    518             return this->weaponSystem_->getAllWeaponPacks();
    519         else
    520             return 0;       
    521     }
    522 
    523515    void Pawn::addMunitionXML(Munition* munition)
    524516    {
Note: See TracChangeset for help on using the changeset viewer.