X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketInterpreter.hh;h=b42cb190f088248d4a9b75467d6e231f5729c85a;hb=6d96e131a920c32fe244f31b6621339a663414c2;hp=68af3da9d3fa3640b305f4a26ebc7dfb8ffdf97c;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/Packets/PacketInterpreter.hh b/Packets/PacketInterpreter.hh index 68af3da..b42cb19 100644 --- a/Packets/PacketInterpreter.hh +++ b/Packets/PacketInterpreter.hh @@ -211,7 +211,7 @@ namespace senf { void releaseImpl(); friend class detail::PacketImpl; - friend class intrusive_refcount_t; + friend class intrusive_refcount_base; template friend class PacketInterpreter; friend class detail::packet::test::TestDriver; friend class PacketParserBase; @@ -379,8 +379,8 @@ namespace senf { This exception signals an invalid operation on the chain like trying to find a non-existent chain member and other similar error conditions. */ - struct InvalidPacketChainException : public std::exception - { virtual char const * what() const throw() { return "invalid packet chain"; } }; + struct InvalidPacketChainException : public senf::Exception + { InvalidPacketChainException() : senf::Exception("invalid packet chain"){} }; }