X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FPacketImpl.cci;h=34c3d1d56ca445a0c85ab30a4768f5fcc22bb68a;hb=a1c37005ec4c281f6a76c07070a943cd1e36b6af;hp=d7a2ec3a64d93132111e1563e3297c2d3864ff3a;hpb=1dec1fc58d8495489db319b2e2efaaa4a55cb9ce;p=senf.git diff --git a/senf/Packets/PacketImpl.cci b/senf/Packets/PacketImpl.cci index d7a2ec3..34c3d1d 100644 --- a/senf/Packets/PacketImpl.cci +++ b/senf/Packets/PacketImpl.cci @@ -206,7 +206,7 @@ prefix_ void senf::detail::PacketImpl::dumpAnnotations(std::ostream & os) prefix_ void senf::detail::PacketImpl::release(refcount_t n) { - SENF_ASSERT(refcount_ >= n); + SENF_ASSERT(refcount_ >= n, "Internal failure: Releasing dead PacketImpl ??"); // uah ... we need to be extremely careful here. If refcount_ is n, we want to commit suicide, // however the destructor will remove all PacketInterpreters from the list and will thereby // decrement refcount -> only decrenebt refcount_ when *not* caling delete