[Positioner] using instead of typedef

Declare type aliases with "using" instead of "typedef".
This commit is contained in:
Matteo Cypriani 2014-02-25 18:11:59 -05:00
parent 7985415a3f
commit 9c83ae3593
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,