From: g0dil Date: Tue, 17 Jul 2007 08:35:13 +0000 (+0000) Subject: Packets: Fix access problems for g++ < 4.1 X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=fa2d5a5f2fcd2bf6d20bdbb3f86135e8c2da87cb;p=senf.git Packets: Fix access problems for g++ < 4.1 git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@317 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/PacketInterpreter.hh b/Packets/PacketInterpreter.hh index d49510f..aed5c56 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