From a12fc913a078c6c2cf16787e64f4f24d448ff2f6 Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Mon, 19 Dec 2016 16:28:16 -0800 Subject: lib: add default ctors to structs and initialize members properly --- host/lib/rfnoc/xports.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/rfnoc/xports.hpp') diff --git a/host/lib/rfnoc/xports.hpp b/host/lib/rfnoc/xports.hpp index 7872f2e1b..98cf71b6d 100644 --- a/host/lib/rfnoc/xports.hpp +++ b/host/lib/rfnoc/xports.hpp @@ -24,6 +24,7 @@ namespace uhd { */ struct both_xports_t { + both_xports_t(): recv_buff_size(0), send_buff_size(0) {} uhd::transport::zero_copy_if::sptr recv; uhd::transport::zero_copy_if::sptr send; size_t recv_buff_size; -- cgit v1.2.3