Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_float_to_short.cc
index ecb0fa0fc656f995ce51a090a5303853194ea25d..084f76f9c476b81f2f71376c96d8a1d4d8dd6db9 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_short_sptr
 gr_make_float_to_short ()
 {
-  return gr_float_to_short_sptr (new gr_float_to_short ());
+  return gnuradio::get_initial_sptr(new gr_float_to_short ());
 }
 
 gr_float_to_short::gr_float_to_short ()