summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosh Blum2012-08-24 00:37:46 -0700
committerJosh Blum2012-08-26 16:03:52 -0700
commitcba829a42111bf1d8a4393b6e0048897064f415a (patch)
treec02a90ec45688629182b68a38536c0227e9acd2f /include
parent4ed9498d1a06f4e0f345ce25265d9a69309b4ecf (diff)
downloadsandhi-cba829a42111bf1d8a4393b6e0048897064f415a.tar.gz
sandhi-cba829a42111bf1d8a4393b6e0048897064f415a.tar.bz2
sandhi-cba829a42111bf1d8a4393b6e0048897064f415a.zip
runtime: work in the incredible tags
Diffstat (limited to 'include')
-rw-r--r--include/gnuradio/io_signature.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gnuradio/io_signature.hpp b/include/gnuradio/io_signature.hpp
index 6cab2d6..58398f5 100644
--- a/include/gnuradio/io_signature.hpp
+++ b/include/gnuradio/io_signature.hpp
@@ -91,6 +91,7 @@ struct IOSignature : std::vector<int>
int sizeof_stream_item(const int index) const
{
+ if (this->empty()) return 0;
if (this->size() > unsigned(index))
{
return this->at(index);