[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 <cmath>
|
||||
|
||||
typedef uint_fast16_t pkt_id_t ;
|
||||
typedef int_fast16_t ss_t ;
|
||||
using pkt_id_t = uint_fast16_t ;
|
||||
using ss_t = int_fast16_t ;
|
||||
|
||||
/// Represents a list of signal strengths captured by one CapturePoint
|
||||
class Measurement
|
||||
|
|
|
@ -63,7 +63,7 @@ protected:
|
|||
* &_measurements = std::unordered_map<std::string,
|
||||
* Measurement>()) ;
|
||||
*/
|
||||
typedef std::unordered_map<std::string, Measurement> measurements_list ;
|
||||
using measurements_list = std::unordered_map<std::string, Measurement> ;
|
||||
|
||||
public:
|
||||
Request(const Mobile *const _mobile = NULL,
|
||||
|
|
Loading…
Reference in New Issue