summaryrefslogtreecommitdiff
path: root/gr-digital/lib/constellation_receiver_cb_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/lib/constellation_receiver_cb_impl.cc')
-rw-r--r--gr-digital/lib/constellation_receiver_cb_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-digital/lib/constellation_receiver_cb_impl.cc b/gr-digital/lib/constellation_receiver_cb_impl.cc
index 7cb9da68e3..922ff410fb 100644
--- a/gr-digital/lib/constellation_receiver_cb_impl.cc
+++ b/gr-digital/lib/constellation_receiver_cb_impl.cc
@@ -28,8 +28,8 @@ namespace digital {
constellation_receiver_cb::sptr constellation_receiver_cb::make(
constellation_sptr constell, float loop_bw, float fmin, float fmax)
{
- return gnuradio::get_initial_sptr(
- new constellation_receiver_cb_impl(constell, loop_bw, fmin, fmax));
+ return gnuradio::make_block_sptr<constellation_receiver_cb_impl>(
+ constell, loop_bw, fmin, fmax);
}
static const std::vector<int> iosig = {