From 4823d29847cead37501144b5845df49b40f35daa Mon Sep 17 00:00:00 2001 From: g0dil <g0dil@wiback.org> Date: Tue, 17 Jul 2007 08:35:13 +0000 Subject: [PATCH] Packets: Fix access problems for g++ < 4.1 --- Packets/PacketInterpreter.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Packets/PacketInterpreter.hh b/Packets/PacketInterpreter.hh index d49510f52..aed5c56d1 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 -- GitLab