[Positioner] using instead of typedef
Declare type aliases with "using" instead of "typedef".
This commit is contained in:
parent
7985415a3f
commit
9c83ae3593
|
@ -21,8 +21,8 @@
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
typedef uint_fast16_t pkt_id_t ;
|
using pkt_id_t = uint_fast16_t ;
|
||||||
typedef int_fast16_t ss_t ;
|
using ss_t = int_fast16_t ;
|
||||||
|
|
||||||
/// Represents a list of signal strengths captured by one CapturePoint
|
/// Represents a list of signal strengths captured by one CapturePoint
|
||||||
class Measurement
|
class Measurement
|
||||||
|
|
|
@ -63,7 +63,7 @@ protected:
|
||||||
* &_measurements = std::unordered_map<std::string,
|
* &_measurements = std::unordered_map<std::string,
|
||||||
* Measurement>()) ;
|
* Measurement>()) ;
|
||||||
*/
|
*/
|
||||||
typedef std::unordered_map<std::string, Measurement> measurements_list ;
|
using measurements_list = std::unordered_map<std::string, Measurement> ;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Request(const Mobile *const _mobile = NULL,
|
Request(const Mobile *const _mobile = NULL,
|
||||||
|
|
Loading…
Reference in New Issue