Skip to content

Commit 6ee7b90

Browse files
zhaomr13ktf
authored andcommitted
switch initialization order
1 parent 3fae08f commit 6ee7b90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Algorithm/test/parser.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct SizedTrailer {
4646
unsigned char flags = 0xaa;
4747
size_t payloadSize = 0;
4848

49-
SizedTrailer(size_t s, unsigned char f) : payloadSize(s), flags(f) {}
49+
SizedTrailer(size_t s, unsigned char f) : flags(f), payloadSize(s) {}
5050
};
5151

5252
BOOST_AUTO_TEST_CASE(test_forwardparser_header_and_trailer)

0 commit comments

Comments
 (0)