Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1536


Ignore:
Timestamp:
Jun 4, 2008, 9:07:53 PM (17 years ago)
Author:
rgrieder
Message:

added virtual destructors for NetworkCallback

File:
1 edited

Legend:

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

    r1534 r1536  
    77    public:
    88      virtual void call() = 0;
     9          virtual ~NetworkCallbackBase() {}
    910  };
    1011 
     
    1415    public:
    1516      NetworkCallback(T* object, void (T::*function) (void)) : object_(object), function_(function) {}
     17          virtual ~NetworkCallback() {}
    1618      virtual void call()
    1719        { (this->object_->*function_)(); }
Note: See TracChangeset for help on using the changeset viewer.