Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gr-usrp / src / usrp_source_c.cc
index 26d95dc1b36c1a5a9611bc9158b0ac9854b1d6bb..9055f3ee7692e4b1a79f802e2fbafd1ebcb30985 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
  * 
@@ -43,7 +43,7 @@ usrp_make_source_c (int which_board,
                     const std::string firmware_filename
                     ) throw (std::runtime_error)
 {
-  return usrp_source_c_sptr (new usrp_source_c (which_board,
+  return gnuradio::get_initial_sptr(new usrp_source_c (which_board,
                                                  decim_rate,
                                                  nchan,
                                                  mux,