Modify all block factories to use gnuradio::get_initial_sptr.
[debian/gnuradio] / gr-usrp / src / usrp_sink_s.cc
index 1f51da24db293c9918489938159e3e096c658bd6..1ffaeed963cd6fb4a4958e99ff10dcf0cc80e010 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2004,2006,2009 Free Software Foundation, Inc.
+ * Copyright 2004,2006,2009,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -40,7 +40,7 @@ usrp_make_sink_s (int which_board,
                   const std::string firmware_filename
                   ) throw (std::runtime_error)
 {
-  return usrp_sink_s_sptr (new usrp_sink_s (which_board,
+  return gnuradio::get_initial_sptr(new usrp_sink_s (which_board,
                                              interp_rate,
                                              nchan,
                                              mux,