Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_null_source.cc
index d11976e1b47e438c45d68b1673aef744a3ebdeef..b65c39035508d4450e7d935fbde111bf61482993 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2004 Free Software Foundation, Inc.
+ * Copyright 2004,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -38,7 +38,7 @@ gr_null_source::gr_null_source (size_t sizeof_stream_item)
 gr_block_sptr
 gr_make_null_source (size_t sizeof_stream_item)
 {
-  return gr_block_sptr (new gr_null_source (sizeof_stream_item));
+  return gnuradio::get_initial_sptr (new gr_null_source (sizeof_stream_item));
 }
 
 int