mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
raw_istream and kin: a few cleanups.
anchor() doesn't seem to change compiler output in current compilers, so remove it. Use default where appropriate rather than empty bodies.
This commit is contained in:
@@ -18,7 +18,7 @@ class raw_socket_istream : public raw_istream {
|
||||
public:
|
||||
raw_socket_istream(NetworkStream& stream, int timeout = 0)
|
||||
: m_stream(stream), m_timeout(timeout) {}
|
||||
virtual ~raw_socket_istream();
|
||||
virtual ~raw_socket_istream() = default;
|
||||
virtual bool read(void* data, std::size_t len);
|
||||
virtual void close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user