Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_diff_decoder_bb.cc
index 1802b3b7707cffb3f79a9b624e42745e3c5a003b..1b0bcfb967d15ce22fdfd5fe72a17ac779651b41 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
  * 
@@ -30,7 +30,7 @@
 gr_diff_decoder_bb_sptr
 gr_make_diff_decoder_bb (unsigned int modulus)
 {
-  return gr_diff_decoder_bb_sptr (new gr_diff_decoder_bb(modulus));
+  return gnuradio::get_initial_sptr(new gr_diff_decoder_bb(modulus));
 }
 
 gr_diff_decoder_bb::gr_diff_decoder_bb (unsigned int modulus)