Fix compiler error due to a bug in clang9.

master
faluco 3 years ago committed by Andre Puschmann
parent d5040540fb
commit 634db621e4

@ -1473,7 +1473,7 @@ struct setup_release_c {
SRSASN_CODE pack(bit_ref& bref) const SRSASN_CODE pack(bit_ref& bref) const
{ {
type_.pack(bref); type_.pack(bref);
switch (type_) { switch (type_.value) {
case types::release: case types::release:
break; break;
case types::setup: case types::setup:
@ -1490,7 +1490,7 @@ struct setup_release_c {
types e; types e;
e.unpack(bref); e.unpack(bref);
set(e); set(e);
switch (type_) { switch (type_.value) {
case types::release: case types::release:
break; break;
case types::setup: case types::setup:
@ -1505,7 +1505,7 @@ struct setup_release_c {
void to_json(json_writer& j) const void to_json(json_writer& j) const
{ {
j.start_obj(); j.start_obj();
switch (type_) { switch (type_.value) {
case types::release: case types::release:
break; break;
case types::setup: case types::setup:

Loading…
Cancel
Save