summaryrefslogtreecommitdiff
path: root/gr-channels/lib/selective_fading_model2_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-channels/lib/selective_fading_model2_impl.cc')
-rw-r--r--gr-channels/lib/selective_fading_model2_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-channels/lib/selective_fading_model2_impl.cc b/gr-channels/lib/selective_fading_model2_impl.cc
index e094faa9b0..4f095646f2 100644
--- a/gr-channels/lib/selective_fading_model2_impl.cc
+++ b/gr-channels/lib/selective_fading_model2_impl.cc
@@ -34,8 +34,8 @@ selective_fading_model2::make(unsigned int N,
std::vector<float> mags,
unsigned int ntaps)
{
- return gnuradio::get_initial_sptr(new selective_fading_model2_impl(
- N, fDTs, LOS, K, seed, delays, delays_std, delays_maxdev, mags, ntaps));
+ return gnuradio::make_block_sptr<selective_fading_model2_impl>(
+ N, fDTs, LOS, K, seed, delays, delays_std, delays_maxdev, mags, ntaps);
}
// Block constructor