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/nocscript/function_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/rfnoc/nocscript') diff --git a/host/lib/rfnoc/nocscript/function_table.cpp b/host/lib/rfnoc/nocscript/function_table.cpp index bebceb8dc..a4e36c1a1 100644 --- a/host/lib/rfnoc/nocscript/function_table.cpp +++ b/host/lib/rfnoc/nocscript/function_table.cpp @@ -31,7 +31,7 @@ class function_table_impl : public function_table expression::type_t return_type; function_ptr function; - function_info() {}; + function_info(): return_type(expression::TYPE_INT) {}; function_info(const expression::type_t return_type_, const function_ptr &function_) : return_type(return_type_), function(function_) {}; -- cgit v1.2.3