Skip to content

Commit 67a4245

Browse files
committed
asn1: convert typedefs to using =
1 parent 591fc3a commit 67a4245

22 files changed

+2877
-2879
lines changed

include/srsran/asn1/e1ap/e1ap.h

Lines changed: 205 additions & 207 deletions
Large diffs are not rendered by default.

include/srsran/asn1/f1ap/common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ namespace f1ap {
187187
#define ASN1_F1AP_MAXNO_SRS_RES_PER_SET 16
188188
#define ASN1_F1AP_MAXNO_SRS_CARRIERS 32
189189
#define ASN1_F1AP_MAXNO_SC_SS 5
190-
#define ASN1_F1AP_MAXNO_SRS_RES 64
190+
#define ASN1_F1AP_MAXNO_SRS_RES_FEATURES 64
191191
#define ASN1_F1AP_MAXNO_SRS_POS_RES 64
192192
#define ASN1_F1AP_MAXNO_SRS_POS_RES_SETS 16
193193
#define ASN1_F1AP_MAXNO_SRS_POS_RES_PER_SET 16
@@ -929,7 +929,7 @@ struct private_ie_id_c {
929929

930930
const char* to_string() const;
931931
};
932-
typedef enumerated<types_opts> types;
932+
using types = enumerated<types_opts>;
933933

934934
// choice methods
935935
private_ie_id_c() = default;
@@ -981,7 +981,7 @@ struct f1ap_private_ies_empty_o {
981981

982982
const char* to_string() const;
983983
};
984-
typedef enumerated<types_opts> types;
984+
using types = enumerated<types_opts>;
985985

986986
// choice methods
987987
types type() const { return types::nulltype; }

include/srsran/asn1/f1ap/f1ap.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ struct f1ap_elem_procs_o {
115115

116116
const char* to_string() const;
117117
};
118-
typedef enumerated<types_opts> types;
118+
using types = enumerated<types_opts>;
119119

120120
// choice methods
121121
init_msg_c() = default;
@@ -411,7 +411,7 @@ struct f1ap_elem_procs_o {
411411

412412
const char* to_string() const;
413413
};
414-
typedef enumerated<types_opts> types;
414+
using types = enumerated<types_opts>;
415415

416416
// choice methods
417417
successful_outcome_c() = default;
@@ -564,7 +564,7 @@ struct f1ap_elem_procs_o {
564564

565565
const char* to_string() const;
566566
};
567-
typedef enumerated<types_opts> types;
567+
using types = enumerated<types_opts>;
568568

569569
// choice methods
570570
unsuccessful_outcome_c() = default;
@@ -715,7 +715,7 @@ struct f1ap_pdu_c {
715715

716716
const char* to_string() const;
717717
};
718-
typedef enumerated<types_opts> types;
718+
using types = enumerated<types_opts>;
719719

720720
// choice methods
721721
f1ap_pdu_c() = default;

0 commit comments

Comments
 (0)