X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2F80221Bundle%2FTLVParser.hh;h=2362a10b206af4430d3e32acadcc52dfccfcf07d;hb=refs%2Fheads%2Fmaster;hp=e27deaa331eb475eecf0f4bf32c066fb684b036d;hpb=24e306cdbe3020e45f7b15d922271c8a922cf7b0;p=senf.git diff --git a/senf/Packets/80221Bundle/TLVParser.hh b/senf/Packets/80221Bundle/TLVParser.hh index e27deaa..2362a10 100644 --- a/senf/Packets/80221Bundle/TLVParser.hh +++ b/senf/Packets/80221Bundle/TLVParser.hh @@ -53,7 +53,7 @@ namespace senf { static value_type const max_value = 4294967295u; value_type value() const; - void value(value_type const & v); + void value(value_type v); MIHLengthParser const & operator= (value_type other); size_type bytes() const; @@ -160,7 +160,7 @@ namespace senf { SENF_PARSER_FIELD_RO ( listSize, MIHLengthParser ); SENF_PARSER_FINALIZE ( MIHBaseListTLVParser ); - void maxListSize(MIHLengthParser::value_type maxl) const; + void maxListSize(MIHLengthParser::value_type maxl = MIHLengthParser::max_value) const; }; template