/* -*- c++ -*- */
/*
- * Copyright 2004 Free Software Foundation, Inc.
+ * Copyright 2004,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
gr_block_sptr
gr_make_null_sink (size_t sizeof_stream_item)
{
- return gr_block_sptr (new gr_null_sink (sizeof_stream_item));
+ return gnuradio::get_initial_sptr (new gr_null_sink (sizeof_stream_item));
}
int