Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / gengen / gr_moving_average_XX.cc.t
index 33a0acf9ce725d1856ab68b25a2e09975a8070cc..8d2370d3ba16becba7240e1f0002817049f417c4 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2008 Free Software Foundation, Inc.
+ * Copyright 2008,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -32,7 +32,7 @@
 @SPTR_NAME@ 
 gr_make_@BASE_NAME@ (int length, @O_TYPE@ scale, int max_iter)
 {
-  return @SPTR_NAME@ (new @NAME@ (length, scale, max_iter));
+  return gnuradio::get_initial_sptr (new @NAME@ (length, scale, max_iter));
 }
 
 @NAME@::@NAME@ (int length, @O_TYPE@ scale, int max_iter)