mirror of https://github.com/oxen-io/lokinet
use default values
This commit is contained in:
parent
9b379a1659
commit
3c3dd65760
|
@ -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…
Reference in New Issue