summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general/gr_throttle.cc
diff options
context:
space:
mode:
authorJohnathan Corgan2010-08-03 14:21:36 -0700
committerJohnathan Corgan2010-08-03 14:21:36 -0700
commit62328b4e78e2df20bccb2983bbe7591f99ba013f (patch)
treec249fa5639c2c46066782012b7075bb8b7879335 /gnuradio-core/src/lib/general/gr_throttle.cc
parent8034e2cd49fd71bfdf1ed587d49781a444e1cced (diff)
parent0a9b999b5cce596f4de05828005f698047e14ce9 (diff)
downloadgnuradio-62328b4e78e2df20bccb2983bbe7591f99ba013f.tar.gz
gnuradio-62328b4e78e2df20bccb2983bbe7591f99ba013f.tar.bz2
gnuradio-62328b4e78e2df20bccb2983bbe7591f99ba013f.zip
Merge branch 'maint'
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_throttle.cc')
-rw-r--r--gnuradio-core/src/lib/general/gr_throttle.cc4
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)