--- libapp/stream.h.orig Tue Jan 30 22:24:19 2001 +++ libapp/stream.h Tue Nov 11 19:12:07 2014 @@ -13,6 +13,7 @@ #include "types.h" #include "str.h" #include "tlist.h" +#include #ifdef _UNIX // some custom bits (we rely on pollfd events being a 16-bit type) @@ -53,6 +54,7 @@ class CStreamResponse (public) virtual void OnWriteReady ( void ) = 0; virtual void OnExceptReady( void ) = 0; virtual void OnClosed ( void ) = 0; + virtual ~CStreamResponse ( void ) { }; }; class CStream @@ -83,6 +85,6 @@ class CStream (protected) protected: CStreamResponse* m_pResponse; }; -typedef TDoubleList CStreamList; +typedef std::list CStreamList; #endif //ndef _STREAM_H