Merge branch 'makefile_var_ordering'
[debian/gnuradio] / gnuradio-core / src / lib / filter / gr_freq_xlating_fir_filter_XXX.cc.t
index 49721ed6f6d5edbaaa4273709b75174adeb6d8be..656b3402a9e57aa53a347759a5f18d50225e6c03 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2003 Free Software Foundation, Inc.
+ * Copyright 2003,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -39,7 +39,7 @@
 gr_make_@BASE_NAME@ (int decimation, const std::vector<@TAP_TYPE@> &taps,
                     double center_freq, double sampling_freq)
 {
-  return @SPTR_NAME@ (new @NAME@ (decimation, taps, center_freq, sampling_freq));
+  return gnuradio::get_initial_sptr (new @NAME@ (decimation, taps, center_freq, sampling_freq));
 }
 
 
@@ -110,6 +110,7 @@ int
     set_history (d_proto_taps.size ());
     build_composite_fir ();
     d_updated = false;
+    return 0;               // history requirements may have changed.
   }
 
   unsigned j = 0;