summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-blocks/grc/blocks_null_source.block.yml2
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('