Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 8, 2008, 2:48:48 AM (17 years ago)
Author:
landauf
Message:

removed 3 warnings:

  • Host.cc was twice in CMakeLists.txt
  • virtual destructors for Host and GamestateHandler
  • returning false instead of NULL in Gamestate.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/network/GamestateHandler.h

    r1735 r1740  
    4343    virtual bool add(packet::Gamestate *gs, int clientID)=0;
    4444    virtual bool ack(int gamestateID, int clientID)=0;
    45    
     45
    4646    static GamestateHandler *instance_;
    47    
    48    
     47
     48
    4949  protected:
    5050    GamestateHandler();
    51     ~GamestateHandler();
    52    
     51    virtual ~GamestateHandler();
     52
    5353  public:
    5454    static bool addGamestate(packet::Gamestate *gs, int clientID){ return instance_->add(gs, clientID); }
Note: See TracChangeset for help on using the changeset viewer.