diff options
author | Josh Blum | 2013-03-06 02:39:15 -0600 |
---|---|---|
committer | Josh Blum | 2013-03-06 02:39:15 -0600 |
commit | cb5ff01c491d4558a096fc1649b85283c36ccf91 (patch) | |
tree | 496544fde5577eadba028a25a920d7cd66e1729e /gnuradio-core | |
parent | e0e4eafabfc61ff492a30ee05aceebbf9cb27bcf (diff) | |
download | gnuradio-cb5ff01c491d4558a096fc1649b85283c36ccf91.tar.gz gnuradio-cb5ff01c491d4558a096fc1649b85283c36ccf91.tar.bz2 gnuradio-cb5ff01c491d4558a096fc1649b85283c36ccf91.zip |
gras: same changes to config struct
Diffstat (limited to 'gnuradio-core')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_top_block.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_top_block.cc b/gnuradio-core/src/lib/runtime/gr_top_block.cc index da221c7d5..1c885be6e 100644 --- a/gnuradio-core/src/lib/runtime/gr_top_block.cc +++ b/gnuradio-core/src/lib/runtime/gr_top_block.cc @@ -59,14 +59,12 @@ void gr_top_block::run(const size_t max_items) int gr_top_block::max_noutput_items(void) const { - return this->get_global_config().maximum_output_items; + return this->global_config().maximum_output_items; } void gr_top_block::set_max_noutput_items(int max_items) { - gras::GlobalBlockConfig config = this->get_global_config(); - config.maximum_output_items = max_items; - this->set_global_config(config); + this->global_config().maximum_output_items = max_items; } void gr_top_block::run(void) |