minor fixes for clang++
[senf.git] / senf / Packets / 80221Bundle / TLVParser.hh
index e27deaa..2362a10 100644 (file)
@@ -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 <class Self>