Fixed some msvc problems with libircclient. Fixed auto start boost timer issue. Fixed irc thread termination (this time for real). Using strdup and free on MSVC causes "heap corruption error" in debug mode - use _strdup instead in libircclient.
This commit is contained in:
+4
-1
@@ -23,6 +23,7 @@
|
||||
|
||||
#include <net/irccallback.h>
|
||||
#include <core/thread.h>
|
||||
#include <core/boost/timers.hpp>
|
||||
#include <string>
|
||||
|
||||
struct IrcContext;
|
||||
@@ -52,8 +53,10 @@ protected:
|
||||
IrcContext &GetContext();
|
||||
|
||||
private:
|
||||
std::auto_ptr<IrcContext> m_context;
|
||||
boost::shared_ptr<IrcContext> m_context;
|
||||
IrcCallback &m_callback;
|
||||
|
||||
boost::timers::portable::microsec_timer m_terminationTimer;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user