diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-13 13:29:38 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-13 13:29:38 (GMT) |
commit | fe941ab36b44f083886c07a72d371b2cfba55fe3 (patch) | |
tree | 2dfe945f5b0b4272f573cda18f24caa623c122c7 /src/uscxml/server/Socket.h | |
parent | 02f52d15e7df2500c0c6e96660a43a985add16e8 (diff) | |
download | uscxml-fe941ab36b44f083886c07a72d371b2cfba55fe3.zip uscxml-fe941ab36b44f083886c07a72d371b2cfba55fe3.tar.gz uscxml-fe941ab36b44f083886c07a72d371b2cfba55fe3.tar.bz2 |
Build on Linux and Windows again
Diffstat (limited to 'src/uscxml/server/Socket.h')
-rw-r--r-- | src/uscxml/server/Socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/server/Socket.h b/src/uscxml/server/Socket.h index 9330c4b..7bb8ebe 100644 --- a/src/uscxml/server/Socket.h +++ b/src/uscxml/server/Socket.h @@ -103,14 +103,14 @@ protected: class USCXML_API PacketServerSocket : public ServerSocket { public: PacketServerSocket(int domain, int type, int protocol, const std::string& sep) : ServerSocket(domain, type, protocol), _sep(sep) {} - virtual ~PacketServerSocket() {} + virtual ~PacketServerSocket(); void readCallback(const char* data, size_t size, Connection& conn); virtual void readCallback(const std::string& packet, Connection& conn) = 0; protected: std::string _sep; - std::map<Connection, std::stringstream> _fragments; + std::map<Connection, std::stringstream*> _fragments; }; class USCXML_API ClientSocket : public Socket { |