summaryrefslogtreecommitdiff
path: root/gr-channels/lib/fading_model_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-channels/lib/fading_model_impl.cc')
-rw-r--r--gr-channels/lib/fading_model_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-channels/lib/fading_model_impl.cc b/gr-channels/lib/fading_model_impl.cc
index 1832d15b24..0c037e9e7c 100644
--- a/gr-channels/lib/fading_model_impl.cc
+++ b/gr-channels/lib/fading_model_impl.cc
@@ -18,7 +18,7 @@ namespace channels {
fading_model::sptr
fading_model::make(unsigned int N, float fDTs, bool LOS, float K, uint32_t seed)
{
- return gnuradio::get_initial_sptr(new fading_model_impl(N, fDTs, LOS, K, seed));
+ return gnuradio::make_block_sptr<fading_model_impl>(N, fDTs, LOS, K, seed);
}
// Block constructor