diff options
Diffstat (limited to 'gr-trellis/src/lib/trellis_encoder_XX.cc.t')
-rw-r--r-- | gr-trellis/src/lib/trellis_encoder_XX.cc.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-trellis/src/lib/trellis_encoder_XX.cc.t b/gr-trellis/src/lib/trellis_encoder_XX.cc.t index 1985fa46a..698a0b307 100644 --- a/gr-trellis/src/lib/trellis_encoder_XX.cc.t +++ b/gr-trellis/src/lib/trellis_encoder_XX.cc.t @@ -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 * @@ -33,7 +33,7 @@ @SPTR_NAME@ trellis_make_@BASE_NAME@ (const fsm &FSM, int ST) { - return @SPTR_NAME@ (new @NAME@ (FSM,ST)); + return gnuradio::get_initial_sptr (new @NAME@ (FSM,ST)); } @NAME@::@NAME@ (const fsm &FSM, int ST) |