X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FListParser.cti;h=20f32da15827b661224a49805580299e76a568c4;hb=84f14a42f9993e186c7897ce0db021300e0a2d48;hp=0aa24eaccafd344da6975a0d9585389580a18899;hpb=af5fee58087b479a8a346dc5f94047ec0c5f79cf;p=senf.git diff --git a/senf/Packets/ListParser.cti b/senf/Packets/ListParser.cti index 0aa24ea..20f32da 100644 --- a/senf/Packets/ListParser.cti +++ b/senf/Packets/ListParser.cti @@ -77,7 +77,7 @@ prefix_ typename senf::ListParser::value_type senf::ListParser::front() const { - SENF_ASSERT( ! empty() ); + SENF_ASSERT( ! empty(), "front() called on empty list" ); container c(*this); return *(c.begin()); } @@ -281,7 +281,7 @@ prefix_ typename senf::ListParser_Container::value_type senf::ListParser_Container::front() const { - SENF_ASSERT( ! empty() ); + SENF_ASSERT( ! empty(), "front() called on empty list" ); return *begin(); }