Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_float_to_char.cc
index ed6c41826c8b69730214972273a6a6d6642394a6..88b9d276e2bc7a615f93a69d964911f763ca43d1 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2004 Free Software Foundation, Inc.
+ * Copyright 2004,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -31,7 +31,7 @@
 gr_float_to_char_sptr
 gr_make_float_to_char ()
 {
-  return gr_float_to_char_sptr (new gr_float_to_char ());
+  return gnuradio::get_initial_sptr(new gr_float_to_char ());
 }
 
 gr_float_to_char::gr_float_to_char ()