diff options
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) |