diff --git a/websocketpp/transport/iostream/endpoint.hpp b/websocketpp/transport/iostream/endpoint.hpp index 952bdcfe96..781bb5c183 100644 --- a/websocketpp/transport/iostream/endpoint.hpp +++ b/websocketpp/transport/iostream/endpoint.hpp @@ -63,7 +63,7 @@ public: typedef typename transport_con_type::ptr transport_con_ptr; // generate and manage our own io_service - explicit endpoint() + explicit endpoint() : output_stream(NULL) { std::cout << "transport::iostream::endpoint constructor" << std::endl; }