X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketRegistry.hh;h=a17449cb99cff29f7fd07cb8fe5743384f91024d;hb=a4ebeef29f8eb69dc2dad10668d762540002b924;hp=8f342ebb9004d150f8379d59d2cea0db881b4427;hpb=1d247d12d1759ffd77f456efe3a52f03dd289994;p=senf.git diff --git a/Packets/PacketRegistry.hh b/Packets/PacketRegistry.hh index 8f342eb..a17449c 100644 --- a/Packets/PacketRegistry.hh +++ b/Packets/PacketRegistry.hh @@ -30,6 +30,7 @@ #include #include // for boost::noncopyable #include +#include #include "../Utils/Exception.hh" #include "Packet.hh" @@ -200,7 +201,7 @@ packet of which the key is requested # define SENF_PACKET_REGISTRY_REGISTER( registry, value, type ) \ namespace { \ senf::PacketRegistry< registry >::RegistrationProxy< type > \ - packetRegistration_ ## __LINE__ ( value ); \ + BOOST_PP_CAT(packetRegistration_, __LINE__) ( value ); \ } /** \brief Dump all packet registries