Skip to content

Commit

Permalink
Merge pull request #560 from chuot/compile-on-fedora35
Browse files Browse the repository at this point in the history
Fix compile errors on Fedora 35
  • Loading branch information
robotastic authored Nov 30, 2021
2 parents cf8ed83 + 507353c commit 8072483
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion lib/op25_repeater/include/op25_repeater/analog_udp.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ namespace gr {
class OP25_REPEATER_API analog_udp : virtual public gr::block
{
public:
#if GNURADIO_VERSION < 0x030900
typedef boost::shared_ptr<analog_udp> sptr;

#else
typedef std::shared_ptr<analog_udp> sptr;
#endif
/*!
* \brief Return a shared_ptr to a new instance of op25_repeater::analog_udp.
*
Expand Down
5 changes: 4 additions & 1 deletion lib/op25_repeater/include/op25_repeater/frame_assembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ namespace gr {
class OP25_REPEATER_API frame_assembler : virtual public gr::block
{
public:
#if GNURADIO_VERSION < 0x030900
typedef boost::shared_ptr<frame_assembler> sptr;

#else
typedef std::shared_ptr<frame_assembler> sptr;
#endif
/*!
* \brief Return a shared_ptr to a new instance of op25_repeater::frame_assembler.
*
Expand Down
5 changes: 4 additions & 1 deletion lib/op25_repeater/include/op25_repeater/iqfile_source.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ class OP25_REPEATER_API iqfile_source : virtual public gr::sync_block
{
public:
// gr::op25_repeater::iqfile_source::sptr
#if GNURADIO_VERSION < 0x030900
typedef boost::shared_ptr<iqfile_source> sptr;

#else
typedef std::shared_ptr<iqfile_source> sptr;
#endif
/*!
* \brief Create a file source.
*
Expand Down
5 changes: 4 additions & 1 deletion lib/op25_repeater/include/op25_repeater/rmsagc_ff.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ namespace gr {
{
public:
// gr::blocks::rmsagc_ff::sptr
#if GNURADIO_VERSION < 0x030900
typedef boost::shared_ptr<rmsagc_ff> sptr;

#else
typedef std::shared_ptr<rmsagc_ff> sptr;
#endif
/*!
* \brief Make an RMS calc. block.
* \param alpha gain for running average filter.
Expand Down

0 comments on commit 8072483

Please sign in to comment.