net: expose hidden method from parent class
net: expose hidden method from parent class

this also silences the warning from GCC:

../src/seastar/include/seastar/net/stack.hh:37:25: warning: ‘virtual seastar::data_source seastar::net::connected_socket_impl::source(seastar::connected_socket_input_stream_config)’ was hidden
[-Woverloa\
ded-virtual]
   37 |     virtual data_source source(connected_socket_input_stream_config csisc);
      |                         ^~~~~~
In file included from ../src/seastar/src/net/tcp.cc:27:
../src/seastar/src/net/native-stack-impl.hh:199:13: note:   by ‘seastar::data_source seastar::net::native_connected_socket_impl<Protocol>::source() [with Protocol =
seastar::net::tcp<seastar::net::ipv4_t\
raits>]’
  199 | data_source native_connected_socket_impl<Protocol>::source() {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <cdc92d111bae0ed1ee3b3c8a1f849fcffc6b44f7@gmail.com>
Message-Id: <20200909125423.49117-2-cdc92d111bae0ed1ee3b3c8a1f849fcffc6b44f7@gmail.com>

cloudius-systems/seastar,avikivity/seastar,dreamsxin/seastar,syuu1228/seastar,syuu1228/seastar,avikivity/seastar,scylladb/seastar,scylladb/seastar,dreamsxin/seastar,dreamsxin/seastar,cloudius-systems/seastar,avikivity/seastar,cloudius-systems/seastar,scylladb/seastar,syuu1228/seastar