Adding a bit more checking on file operations.
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_ofdm_sampler.cc
index 7f6b2b01c984a6d5064a9d91fbdb5005146989e7..f9a53c87f26382c35b3a4e47f14969e4b7774d13 100644 (file)
@@ -34,7 +34,7 @@ gr_make_ofdm_sampler (unsigned int fft_length,
                      unsigned int symbol_length,
                      unsigned int timeout)
 {
-  return gr_ofdm_sampler_sptr (new gr_ofdm_sampler (fft_length, symbol_length, timeout));
+  return gnuradio::get_initial_sptr(new gr_ofdm_sampler (fft_length, symbol_length, timeout));
 }
 
 gr_ofdm_sampler::gr_ofdm_sampler (unsigned int fft_length,