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:
Peter Johnson
2015-08-19 20:37:27 -07:00
parent a34143ae75
commit f0e31487f0
4 changed files with 4 additions and 10 deletions

View File

@@ -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();