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

@@ -9,8 +9,6 @@
using namespace nt;
raw_socket_istream::~raw_socket_istream() {}
bool raw_socket_istream::read(void* data, std::size_t len) {
char* cdata = static_cast<char*>(data);
std::size_t pos = 0;