@@ -174,7 +174,7 @@ enum SubsectionKind : uint8_t {
174174// in a byte as bit zero. The Flags type helps to set bits in byte according
175175// to this numeration order.
176176class Flags {
177- uint8_t Val;
177+ uint8_t Val = 0 ;
178178
179179 constexpr static uint8_t bits (uint8_t BitIndex, uint8_t Length, uint8_t Value,
180180 uint8_t OldValue) {
@@ -185,7 +185,7 @@ class Flags {
185185 }
186186
187187public:
188- constexpr Flags () : Val( 0 ) {}
188+ constexpr Flags () = default;
189189 constexpr Flags (uint8_t BitIndex, uint8_t Length, uint8_t Value)
190190 : Val(bits(BitIndex, Length, Value, 0 )) {}
191191
@@ -204,7 +204,7 @@ class Flags {
204204};
205205
206206// Structure for the flag field of a symbol. See
207- // https://www.ibm.com/docs/en/zos/3.1.0?topic=formats-external-symbol-definition-record,
207+ // https://www.ibm.com/docs/en/zos/3.1.0?topic=formats-external-symbol-definition-record ,
208208// offset 41, for the definition.
209209struct SymbolFlags {
210210 Flags SymFlags;
@@ -221,7 +221,7 @@ struct SymbolFlags {
221221
222222#undef GOFF_SYMBOL_FLAG
223223
224- constexpr operator uint8_t () const { return static_cast <uint8_t >(SymFlags); }
224+ constexpr operator uint8_t () const { return static_cast <uint8_t >(SymFlags); }
225225};
226226
227227// Structure for the behavioral attributes. See
0 commit comments