summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general/gr_repeat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_repeat.cc')
-rw-r--r--gnuradio-core/src/lib/general/gr_repeat.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/general/gr_repeat.cc b/gnuradio-core/src/lib/general/gr_repeat.cc
index 70bb44e5a..43ad50f52 100644
--- a/gnuradio-core/src/lib/general/gr_repeat.cc
+++ b/gnuradio-core/src/lib/general/gr_repeat.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2008 Free Software Foundation, Inc.
+ * Copyright 2008,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -31,7 +31,7 @@
gr_repeat_sptr
gr_make_repeat(size_t itemsize, int interp)
{
- return gr_repeat_sptr(new gr_repeat(itemsize, interp));
+ return gnuradio::get_initial_sptr(new gr_repeat(itemsize, interp));
}
gr_repeat::gr_repeat(size_t itemsize, int interp)