1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-21 10:37:47 +00:00

clang-tidy: apply modernize-use-using check

This commit is contained in:
Carles Fernandez
2019-02-11 13:02:18 +01:00
parent 64f7a900c6
commit b9c115bdf8
76 changed files with 77 additions and 92 deletions

View File

@@ -37,7 +37,7 @@
class byte_x2_to_complex_byte;
typedef boost::shared_ptr<byte_x2_to_complex_byte> byte_x2_to_complex_byte_sptr;
using byte_x2_to_complex_byte_sptr = boost::shared_ptr<byte_x2_to_complex_byte>;
byte_x2_to_complex_byte_sptr make_byte_x2_to_complex_byte();

View File

@@ -37,7 +37,7 @@
class complex_byte_to_float_x2;
typedef boost::shared_ptr<complex_byte_to_float_x2> complex_byte_to_float_x2_sptr;
using complex_byte_to_float_x2_sptr = boost::shared_ptr<complex_byte_to_float_x2>;
complex_byte_to_float_x2_sptr make_complex_byte_to_float_x2();

View File

@@ -36,7 +36,7 @@
class complex_float_to_complex_byte;
typedef boost::shared_ptr<complex_float_to_complex_byte> complex_float_to_complex_byte_sptr;
using complex_float_to_complex_byte_sptr = boost::shared_ptr<complex_float_to_complex_byte>;
complex_float_to_complex_byte_sptr make_complex_float_to_complex_byte();

View File

@@ -36,7 +36,7 @@
class conjugate_cc;
typedef boost::shared_ptr<conjugate_cc> conjugate_cc_sptr;
using conjugate_cc_sptr = boost::shared_ptr<conjugate_cc>;
conjugate_cc_sptr make_conjugate_cc();

View File

@@ -36,7 +36,7 @@
class conjugate_ic;
typedef boost::shared_ptr<conjugate_ic> conjugate_ic_sptr;
using conjugate_ic_sptr = boost::shared_ptr<conjugate_ic>;
conjugate_ic_sptr make_conjugate_ic();

View File

@@ -36,7 +36,7 @@
class conjugate_sc;
typedef boost::shared_ptr<conjugate_sc> conjugate_sc_sptr;
using conjugate_sc_sptr = boost::shared_ptr<conjugate_sc>;
conjugate_sc_sptr make_conjugate_sc();

View File

@@ -37,7 +37,7 @@
class cshort_to_float_x2;
typedef boost::shared_ptr<cshort_to_float_x2> cshort_to_float_x2_sptr;
using cshort_to_float_x2_sptr = boost::shared_ptr<cshort_to_float_x2>;
cshort_to_float_x2_sptr make_cshort_to_float_x2();

View File

@@ -38,7 +38,7 @@
class gnss_sdr_sample_counter;
typedef boost::shared_ptr<gnss_sdr_sample_counter> gnss_sdr_sample_counter_sptr;
using gnss_sdr_sample_counter_sptr = boost::shared_ptr<gnss_sdr_sample_counter>;
gnss_sdr_sample_counter_sptr gnss_sdr_make_sample_counter(
double _fs,

View File

@@ -343,7 +343,7 @@ const int POSOPT_RINEX = 3; //!< pos option: rinex header pos
const int MAXSTRPATH = 1024; //!< max length of stream path
const int MAXSTRMSG = 1024; //!< max length of stream message
typedef void fatalfunc_t(const char *); //!< fatal callback function type
using fatalfunc_t = void (const char *); //!< fatal callback function type
#define STR_MODE_R 0x1 /* stream mode: read */
#define STR_MODE_W 0x2 /* stream mode: write */

View File

@@ -37,7 +37,7 @@
class short_x2_to_cshort;
typedef boost::shared_ptr<short_x2_to_cshort> short_x2_to_cshort_sptr;
using short_x2_to_cshort_sptr = boost::shared_ptr<short_x2_to_cshort>;
short_x2_to_cshort_sptr make_short_x2_to_cshort();