1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Fix deprecated enum usage

This commit is contained in:
Carles Fernandez 2020-05-28 23:27:36 +02:00
parent 447d8a5625
commit eef5cadab0
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -502,14 +502,8 @@ private:
class Rtcm_Message class Rtcm_Message
{ {
public: public:
enum static const std::size_t header_length = 6;
{ static const std::size_t max_body_length = 1029;
header_length = 6
};
enum
{
max_body_length = 1029
};
Rtcm_Message() Rtcm_Message()
: body_length_(0) : body_length_(0)