X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketInterpreter.hh;h=878de5b71a9794adab819e9b7d00b550e8e324b5;hb=2d6585ff852e9d282c17003ba1db0b73eb3a8500;hp=d49510f52f5e8de7d509447944a2c23c0324bcf9;hpb=f13c1275e48e97dceb7de7925793a4c69a5aeb61;p=senf.git diff --git a/Packets/PacketInterpreter.hh b/Packets/PacketInterpreter.hh index d49510f..878de5b 100644 --- a/Packets/PacketInterpreter.hh +++ b/Packets/PacketInterpreter.hh @@ -168,6 +168,11 @@ namespace senf { ptr appendClone(detail::PacketImpl * impl, iterator base, iterator new_base); ptr appendClone(detail::PacketImpl * impl, range r); + public: + // Need this for g++ < 4.0. Since PacketInterpreter is not publically visible, it should not + // be a real problem to make impl() public here + using PacketData::impl; + private: // abstract packet type interface @@ -347,6 +352,9 @@ namespace senf { } ///////////////////////////////hh.e//////////////////////////////////////// +#endif +#if !defined(SENF_PACKETS_DECL_ONLY) && !defined(HH_PacketInterpreter_i_) +#define HH_PacketInterpreter_i_ #include "PacketInterpreter.cci" #include "PacketInterpreter.ct" #include "PacketInterpreter.cti"