summaryrefslogtreecommitdiff
path: root/gr-vocoder/lib/cvsd_encode_sb_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-vocoder/lib/cvsd_encode_sb_impl.cc')
-rw-r--r--gr-vocoder/lib/cvsd_encode_sb_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-vocoder/lib/cvsd_encode_sb_impl.cc b/gr-vocoder/lib/cvsd_encode_sb_impl.cc
index 6b60b59e07..1cb6f2f13b 100644
--- a/gr-vocoder/lib/cvsd_encode_sb_impl.cc
+++ b/gr-vocoder/lib/cvsd_encode_sb_impl.cc
@@ -28,8 +28,8 @@ cvsd_encode_sb::sptr cvsd_encode_sb::make(short min_step,
short pos_accum_max,
short neg_accum_max)
{
- return gnuradio::get_initial_sptr(new cvsd_encode_sb_impl(
- min_step, max_step, step_decay, accum_decay, K, J, pos_accum_max, neg_accum_max));
+ return gnuradio::make_block_sptr<cvsd_encode_sb_impl>(
+ min_step, max_step, step_decay, accum_decay, K, J, pos_accum_max, neg_accum_max);
}
cvsd_encode_sb_impl::cvsd_encode_sb_impl(short min_step,