Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_cpfsk_bc.cc
index 95d7c1753db588434c195128e7a15f753e704ead..f0b04ef974b6e5edf338d4513d06d8242c09fcf3 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2008 Free Software Foundation, Inc.
+ * Copyright 2008,2010 Free Software Foundation, Inc.
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@
 gr_cpfsk_bc_sptr 
 gr_make_cpfsk_bc(float k, float ampl, int samples_per_sym)
 {
-  return gr_cpfsk_bc_sptr(new gr_cpfsk_bc(k, ampl, samples_per_sym));
+  return gnuradio::get_initial_sptr(new gr_cpfsk_bc(k, ampl, samples_per_sym));
 }
 
 gr_cpfsk_bc::gr_cpfsk_bc(float k, float ampl, int samples_per_sym)