Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / gengen / gr_mute_XX.cc.t
index ee49d97b4ed31d4d0809709de8eee4c43c919d88..62a8e63daf528e4ac488c1e096a768986f23e433 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
  * 
@@ -34,7 +34,7 @@
 @SPTR_NAME@
 gr_make_@BASE_NAME@ (bool mute)
 {
-  return @SPTR_NAME@ (new @NAME@ (mute));
+  return gnuradio::get_initial_sptr (new @NAME@ (mute));
 }
 
 @NAME@::@NAME@ (bool mute)