mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-16 15:17:22 +00:00
Fixes for GNU Radio 3.9
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#if GNURADIO_USES_STD_POINTERS
|
||||
#else
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#endif
|
||||
|
||||
class ConfigurationInterface;
|
||||
|
||||
@@ -117,7 +121,11 @@ private:
|
||||
|
||||
gr::iio::fmcomms2_source_f32c::sptr fmcomms2_source_f32c_;
|
||||
|
||||
#if GNURADIO_USES_STD_POINTERS
|
||||
std::shared_ptr<gr::block> valve_;
|
||||
#else
|
||||
boost::shared_ptr<gr::block> valve_;
|
||||
#endif
|
||||
gr::blocks::file_sink::sptr file_sink_;
|
||||
std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue_;
|
||||
};
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
#include <osmosdr/source.h>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#if GNURADIO_USES_STD_POINTERS
|
||||
#else
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#endif
|
||||
|
||||
class ConfigurationInterface;
|
||||
|
||||
@@ -98,7 +102,11 @@ private:
|
||||
|
||||
std::string antenna_;
|
||||
|
||||
#if GNURADIO_USES_STD_POINTERS
|
||||
std::shared_ptr<gr::block> valve_;
|
||||
#else
|
||||
boost::shared_ptr<gr::block> valve_;
|
||||
#endif
|
||||
gr::blocks::file_sink::sptr file_sink_;
|
||||
std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue_;
|
||||
};
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#if GNURADIO_USES_STD_POINTERS
|
||||
#else
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#endif
|
||||
|
||||
|
||||
class ConfigurationInterface;
|
||||
@@ -102,7 +106,11 @@ private:
|
||||
|
||||
gr::iio::pluto_source::sptr plutosdr_source_;
|
||||
|
||||
#if GNURADIO_USES_STD_POINTERS
|
||||
std::shared_ptr<gr::block> valve_;
|
||||
#else
|
||||
boost::shared_ptr<gr::block> valve_;
|
||||
#endif
|
||||
gr::blocks::file_sink::sptr file_sink_;
|
||||
std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user