diff options
author | Nicholas Corgan <n.corgan@gmail.com> | 2019-05-10 18:43:41 -0500 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-05-11 21:30:05 +0200 |
commit | df4c7e2a461cb2e2ebe6f799f58dd1f6b8d11a46 (patch) | |
tree | 28b86470b2dab7920f390f3166db5a6c44fdaac5 | |
parent | 72aa97daab609f907ba10b6f56b25e124945ba5a (diff) |
blocks/grc: fix null_source C++ generation
-rw-r--r-- | gr-blocks/grc/blocks_null_source.block.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/grc/blocks_null_source.block.yml b/gr-blocks/grc/blocks_null_source.block.yml index 81e8c25d9f..8a0faa6af3 100644 --- a/gr-blocks/grc/blocks_null_source.block.yml +++ b/gr-blocks/grc/blocks_null_source.block.yml @@ -40,7 +40,7 @@ templates: cpp_templates: includes: ['#include <gnuradio/blocks/null_source.h>'] declarations: 'blocks::null_source::sptr ${id};' - make: 'blocks::null_source::make(${type.size})*${vlen});' + make: 'this->${id} = blocks::null_source::make(${type.size})*${vlen});' translations: gr.sizeof_: 'sizeof(' |