use default values

pull/598/head
Jeff Becker 5 years ago
parent 9b379a1659
commit 3c3dd65760
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -154,19 +154,8 @@ extern "C"
// For utp_writev, to writes data from multiple buffers
struct utp_iovec
{
#ifdef __cplusplus
utp_iovec() : iov_base(nullptr), iov_len(0)
{
}
utp_iovec(const utp_iovec &other)
: iov_base(other.iov_base), iov_len(other.iov_len)
{
}
#endif
void *iov_base;
size_t iov_len;
void *iov_base = nullptr;
size_t iov_len = 0;
};
// Public Functions

Loading…
Cancel
Save