Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_agc_ff.cc
index 9e74fed85037408965a6a3b02e697d3f388f3fce..45c86d898c9696f6ecd031e9dcf80a33d0802446 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2005,2006 Free Software Foundation, Inc.
+ * Copyright 2005,2006,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -31,7 +31,7 @@
 gr_agc_ff_sptr
 gr_make_agc_ff (float rate, float reference, float gain, float max_gain)
 {
-  return gr_agc_ff_sptr (new gr_agc_ff (rate, reference, gain, max_gain));
+  return gnuradio::get_initial_sptr(new gr_agc_ff (rate, reference, gain, max_gain));
 }
 
 gr_agc_ff::gr_agc_ff (float rate, float reference, float gain, float max_gain)