X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FPacketInterpreter.cti;h=e4604e417888a0572e6924477e195218c2863329;hb=HEAD;hp=bafdf9eaeb6a4863425e9a95dcd1ef4289f0b267;hpb=3b799c202bbbbcf8a43649e91b022b8c69e6a9f8;p=senf.git diff --git a/senf/Packets/PacketInterpreter.cti b/senf/Packets/PacketInterpreter.cti index bafdf9e..e4604e4 100644 --- a/senf/Packets/PacketInterpreter.cti +++ b/senf/Packets/PacketInterpreter.cti @@ -41,14 +41,6 @@ // Interpreter chain access template -prefix_ bool senf::PacketInterpreterBase::is() -{ - // ensure that the template argument is included in the corresponding object file when linking: - { static typename PacketInterpreter::factory_t _ (PacketInterpreter::factory()); (void) _;} - return dynamic_cast< PacketInterpreter* >(this); -} - -template prefix_ typename senf::PacketInterpreter::ptr senf::PacketInterpreterBase::as() { // ensure that the template argument is included in the corresponding object file when linking: @@ -67,7 +59,7 @@ prefix_ Annotation & senf::PacketInterpreterBase::annotation() // senf::PacketInterpreter template -prefix_ typename senf::PacketInterpreter::factory_t +prefix_ senf::PacketInterpreterBase::factory_t senf::PacketInterpreter::factory() { return & factory_; @@ -185,14 +177,14 @@ senf::PacketInterpreter::PacketInterpreter(detail::PacketImpl * impl // PacketType access template -prefix_ typename senf::PacketInterpreter::size_type +prefix_ senf::PacketInterpreterBase::size_type senf::PacketInterpreter::initSize() { return type::initSize(); } template -prefix_ typename senf::PacketInterpreter::size_type +prefix_ senf::PacketInterpreterBase::size_type senf::PacketInterpreter::initHeadSize() { size_type sz (type::initHeadSize());