summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/packed_to_unpacked_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/packed_to_unpacked_impl.cc')
-rw-r--r--gr-blocks/lib/packed_to_unpacked_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/lib/packed_to_unpacked_impl.cc b/gr-blocks/lib/packed_to_unpacked_impl.cc
index e982300540..03a80aa44c 100644
--- a/gr-blocks/lib/packed_to_unpacked_impl.cc
+++ b/gr-blocks/lib/packed_to_unpacked_impl.cc
@@ -24,8 +24,8 @@ template <class T>
typename packed_to_unpacked<T>::sptr
packed_to_unpacked<T>::make(unsigned int bits_per_chunk, endianness_t endianness)
{
- return gnuradio::get_initial_sptr(
- new packed_to_unpacked_impl<T>(bits_per_chunk, endianness));
+ return gnuradio::make_block_sptr<packed_to_unpacked_impl<T>>(bits_per_chunk,
+ endianness);
}
template <class T>