summaryrefslogtreecommitdiff
path: root/include/gnuradio/gr_hier_block2.h
diff options
context:
space:
mode:
authorJosh Blum2012-08-19 00:33:23 -0700
committerJosh Blum2012-08-26 16:03:50 -0700
commit87be8242fd5855a8e8f6a76fddf40275b711c784 (patch)
tree18700039d8a711815fb06d7f632118e0216b2484 /include/gnuradio/gr_hier_block2.h
parent1d23019d422c35ba0a653a31bda2066919243c6c (diff)
downloadsandhi-87be8242fd5855a8e8f6a76fddf40275b711c784.tar.gz
sandhi-87be8242fd5855a8e8f6a76fddf40275b711c784.tar.bz2
sandhi-87be8242fd5855a8e8f6a76fddf40275b711c784.zip
runtime: a lot more is compiling/linking
Diffstat (limited to 'include/gnuradio/gr_hier_block2.h')
-rw-r--r--include/gnuradio/gr_hier_block2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gnuradio/gr_hier_block2.h b/include/gnuradio/gr_hier_block2.h
index ec57749..dd8fdae 100644
--- a/include/gnuradio/gr_hier_block2.h
+++ b/include/gnuradio/gr_hier_block2.h
@@ -32,7 +32,10 @@ struct GR_RUNTIME_API gr_hier_block2 : gnuradio::HierBlock
gr_io_signature_sptr output_signature
);
- const Element &self(void);
+ const Element &self(void) const
+ {
+ return *this;
+ }
};