Skip to content

Commit

Permalink
Fix for non CWG 1270 revision compliant compilers (#173)
Browse files Browse the repository at this point in the history
Signed-off-by: Utkan Kılıç utkankilic@gmail.com

Signed-off-by: utkan.kilic <utkan.kilic@togg.com.tr>
Co-authored-by: utkan.kilic <utkan.kilic@togg.com.tr>
  • Loading branch information
utkankilic and utkankilictogg authored Oct 25, 2023
1 parent 92021a8 commit a9135ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fastcdr/Cdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -3341,7 +3341,7 @@ class Cdr
EncodingAlgorithmFlag current_encoding_ {EncodingAlgorithmFlag::PLAIN_CDR2};

//! @brief This attribute stores the option flags when the CDR type is DDS_CDR;
std::array<uint8_t, 2> options_ {0};
std::array<uint8_t, 2> options_{{0}};

//! @brief The endianness that will be applied over the buffer.
uint8_t endianness_ {Endianness::LITTLE_ENDIANNESS};
Expand Down

0 comments on commit a9135ec

Please sign in to comment.