summaryrefslogtreecommitdiff
path: root/gr-comedi/src/comedi_source_s.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-comedi/src/comedi_source_s.cc')
-rw-r--r--gr-comedi/src/comedi_source_s.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-comedi/src/comedi_source_s.cc b/gr-comedi/src/comedi_source_s.cc
index 4e3980e76..a52d04e2a 100644
--- a/gr-comedi/src/comedi_source_s.cc
+++ b/gr-comedi/src/comedi_source_s.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2005 Free Software Foundation, Inc.
+ * Copyright 2005,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -49,7 +49,7 @@ default_device_name ()
comedi_source_s_sptr
comedi_make_source_s (int sampling_freq, const std::string dev)
{
- return comedi_source_s_sptr (new comedi_source_s (sampling_freq, dev));
+ return gnuradio::get_initial_sptr(new comedi_source_s (sampling_freq, dev));
}
comedi_source_s::comedi_source_s (int sampling_freq,