Modify all block factories to use gnuradio::get_initial_sptr.
[debian/gnuradio] / gnuradio-core / src / lib / filter / gr_fir_filter_XXX.cc.t
index b99de507318ff468d6ac9d80ed91100ebc6209c9..29e3519252d1479d534440ebfe065a2efc3c482a 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
  * 
@@ -36,7 +36,7 @@
 
 @SPTR_NAME@ gr_make_@BASE_NAME@ (int decimation, const std::vector<@TAP_TYPE@> &taps)
 {
-  return @SPTR_NAME@ (new @NAME@ (decimation, taps));
+  return gnuradio::get_initial_sptr (new @NAME@ (decimation, taps));
 }