Modified gcell and gr-atsc cppunit tests to output XML files, too. Gcell needs testing.
[debian/gnuradio] / gr-atsc / src / lib / atsc_rs_encoder.cc
index 5f92a3c03ae3879925c943005f60fadb38d490fe..f98ff664c3bb131068a5f8d7ac7739e0c11609c6 100644 (file)
@@ -1,12 +1,12 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2006 Free Software Foundation, Inc.
+ * Copyright 2006,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
+ * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
  * 
  * GNU Radio is distributed in the hope that it will be useful,
@@ -32,7 +32,7 @@
 atsc_rs_encoder_sptr
 atsc_make_rs_encoder()
 {
-  return atsc_rs_encoder_sptr(new atsc_rs_encoder());
+  return gnuradio::get_initial_sptr(new atsc_rs_encoder());
 }
 
 atsc_rs_encoder::atsc_rs_encoder()