diff options
author | Eric Blossom <eb@comsec.com> | 2010-08-03 13:36:18 -0700 |
---|---|---|
committer | Eric Blossom <eb@comsec.com> | 2010-08-03 13:43:42 -0700 |
commit | 0a9b999b5cce596f4de05828005f698047e14ce9 (patch) | |
tree | 3d77eabfdc798322a13cceb9253da152470bdbd9 /gnuradio-core/src/lib/general/gr_throttle.cc | |
parent | fa56c39802a82e6e0e730813a57e86e1aea09a24 (diff) |
Modify all block factories to use gnuradio::get_initial_sptr.
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_throttle.cc')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_throttle.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/general/gr_throttle.cc b/gnuradio-core/src/lib/general/gr_throttle.cc index 88219c1c8..3189e01c0 100644 --- a/gnuradio-core/src/lib/general/gr_throttle.cc +++ b/gnuradio-core/src/lib/general/gr_throttle.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2005 Free Software Foundation, Inc. + * Copyright 2005,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -57,7 +57,7 @@ gr_nanosleep(struct timespec *ts) gr_throttle_sptr gr_make_throttle(size_t itemsize, double samples_per_sec) { - return gr_throttle_sptr(new gr_throttle(itemsize, samples_per_sec)); + return gnuradio::get_initial_sptr(new gr_throttle(itemsize, samples_per_sec)); } gr_throttle::gr_throttle(size_t itemsize, double samples_per_sec) |