X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FGenericTLV.cti;h=fb5c6bb55473bf1ef15ecf2db214aa41ecfaecf5;hb=9bc655e14d2d8c204ed835896cb51e42d49bd68f;hp=b4ba16eed488223779e95a5dcbce391e47c5340a;hpb=33d8f945cadcf912e8637a59d97ac1d1b320af9f;p=senf.git diff --git a/senf/Packets/GenericTLV.cti b/senf/Packets/GenericTLV.cti index b4ba16e..fb5c6bb 100644 --- a/senf/Packets/GenericTLV.cti +++ b/senf/Packets/GenericTLV.cti @@ -35,6 +35,7 @@ template prefix_ senf::PacketParserBase::size_type senf::GenericTLVParserBase::bytes() + const { if (Base::Registry::instance().isRegistered( *this)) return Base::Registry::instance().bytes( *this); @@ -85,8 +86,8 @@ template prefix_ void senf::GenericTLVParserBase::value( ForwardReadableRange const & val, typename boost::disable_if >::type *) -{ - value_( val); +{ + value_( val); } template @@ -94,8 +95,8 @@ template prefix_ void senf::GenericTLVParserBase::value( std::pair const & val, typename boost::disable_if >::type *) -{ - value_( val); +{ + value_( val); } template @@ -103,9 +104,9 @@ template prefix_ void senf::GenericTLVParserBase::value( std::pair const & val, typename boost::enable_if >::type *) -{ +{ this->type() = val.first; - value_( val.second); + value_( val.second); } #endif