Parcourir la source

[5094] Addressed review comments.

- Removed unncessary public:
- Added function description
Marcin Siodelski il y a 8 ans
Parent
commit
cdc16d8c73

+ 0 - 1
src/lib/asiolink/io_asio_socket.h

@@ -78,7 +78,6 @@ class IOEndpoint;
 
 template <typename C>
 class IOAsioSocket : public IOSocket {
-public:
 
     ///
     /// \name Constructors and Destructor

+ 1 - 1
src/lib/asiolink/tcp_acceptor.h

@@ -26,7 +26,7 @@ namespace asiolink {
 /// Internally it uses @c boost::asio::ip::tcp::acceptor class to implement
 /// the acceptor service.
 ///
-/// @tparam Acceptor callback type.
+/// @tparam C Acceptor callback type.
 template<typename C>
 class TCPAcceptor : public IOSocket {
 public:

+ 3 - 0
src/lib/asiolink/tcp_socket.h

@@ -153,6 +153,9 @@ public:
     /// \brief Close socket
     virtual void close();
 
+    /// \brief Returns reference to the underlying ASIO socket.
+    ///
+    /// \return Reference to underlying ASIO socket.
     virtual boost::asio::ip::tcp::socket& getASIOSocket() const {
         return (socket_);
     }