diff options
| author | Andrej Rode <andrej.rode@ettus.com> | 2016-12-19 16:28:16 -0800 | 
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2017-01-12 15:15:37 -0800 | 
| commit | a12fc913a078c6c2cf16787e64f4f24d448ff2f6 (patch) | |
| tree | 7b0b72e452551d9770a5b9c5d0ecda2a3fe83da5 /host/lib/rfnoc/nocscript | |
| parent | 6e3939f4a56e8daa82fe00c130208cbe6db3f7c1 (diff) | |
| download | uhd-a12fc913a078c6c2cf16787e64f4f24d448ff2f6.tar.gz uhd-a12fc913a078c6c2cf16787e64f4f24d448ff2f6.tar.bz2 uhd-a12fc913a078c6c2cf16787e64f4f24d448ff2f6.zip | |
lib: add default ctors to structs and initialize members properly
Diffstat (limited to 'host/lib/rfnoc/nocscript')
| -rw-r--r-- | host/lib/rfnoc/nocscript/function_table.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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_)          {}; | 
