summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/and_const_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/and_const_impl.cc')
-rw-r--r--gr-blocks/lib/and_const_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/and_const_impl.cc b/gr-blocks/lib/and_const_impl.cc
index 3f73f155d4..4a5b177fa5 100644
--- a/gr-blocks/lib/and_const_impl.cc
+++ b/gr-blocks/lib/and_const_impl.cc
@@ -22,7 +22,7 @@ namespace blocks {
template <class T>
typename and_const<T>::sptr and_const<T>::make(T k)
{
- return gnuradio::get_initial_sptr(new and_const_impl<T>(k));
+ return gnuradio::make_block_sptr<and_const_impl<T>>(k);
}
template <class T>