OSDN Git Service

[gcc] io/socket/socket.hpp
[roast/roast.git] / roast / include / roast / io / socket / socket.hpp
index 5d91964..c11f6b6 100644 (file)
@@ -52,7 +52,7 @@ namespace roast
                        socket_type sock = m_impl.create(m_openparam);
                        if ( sock == _Impl::invalid_handle )
                                throw socket_exception("roast::io::socket::create_socket(): Failed create new socket.");
-                       m_handle = sock;
+                       _Base::m_handle = sock;
                        return sock;
                }
                socket_type create_socket(int family, int socktype, int protocol)
@@ -61,7 +61,7 @@ namespace roast
                        socket_type sock = m_impl.create(m_openparam);
                        if ( sock == _Impl::invalid_handle )
                                throw socket_exception("roast::io::socket::create_socket(): Failed create new socket.");
-                       m_handle = sock;
+                       _Base::m_handle = sock;
                        return sock;
                }