Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_agc2_cc.cc
index 175ca4ab236a9e8458c80418b48c47ef54b51dec..687f6c857155de361140201b24403562b3bb055d 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2006 Free Software Foundation, Inc.
+ * Copyright 2006,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -32,7 +32,7 @@ gr_agc2_cc_sptr
 gr_make_agc2_cc (float attack_rate, float decay_rate, float reference, 
                 float gain, float max_gain)
 {
-  return gr_agc2_cc_sptr (new gr_agc2_cc (attack_rate, decay_rate, reference, gain, max_gain));
+  return gnuradio::get_initial_sptr(new gr_agc2_cc (attack_rate, decay_rate, reference, gain, max_gain));
 }
 
 gr_agc2_cc::gr_agc2_cc (float attack_rate, float decay_rate, float reference,