From a2d92c9a2192e3b7250f56e4133abfa3b0d63e37 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Mon, 5 Aug 2013 08:28:22 -0500 Subject: [PATCH] style and documentation --- websocketpp/transport/asio/endpoint.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/websocketpp/transport/asio/endpoint.hpp b/websocketpp/transport/asio/endpoint.hpp index 44ffd6c485..08bb2aabee 100644 --- a/websocketpp/transport/asio/endpoint.hpp +++ b/websocketpp/transport/asio/endpoint.hpp @@ -424,6 +424,7 @@ public: * Stop listening and accepting new connections. This will not end any * existing connections. * + * @since 0.3.0-alpha4 * @param ec A status code indicating an error, if any. */ void stop_listening(lib::error_code & ec) { @@ -444,6 +445,8 @@ public: /** * Stop listening and accepting new connections. This will not end any * existing connections. + * + * @since 0.3.0-alpha4 */ void stop_listening() { lib::error_code ec; @@ -459,6 +462,9 @@ public: } /// wraps the run_one method of the internal io_service object + /** + * @since 0.3.0-alpha4 + */ std::size_t run_one() { return m_io_service->run_one(); } @@ -859,7 +865,7 @@ protected: private: /// Convenience method for logging the code and message for an error_code template - void log_err(log::level l,const char * msg, const error_type & ec) { + void log_err(log::level l, char const * msg, error_type const & ec) { std::stringstream s; s << msg << " error: " << ec << " (" << ec.message() << ")"; m_elog->write(l,s.str());