X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FPacketImpl.ct;h=feb564d131fd4a1840623f260b4af5d9734a5d4a;hb=78a6e233083efa63a9cd0684a92abc64202a9ee7;hp=93a757c1379702cc60de76206dfa646307a30bb3;hpb=20c3dbf64b3beed10655dceaee5791680fb25383;p=senf.git diff --git a/senf/Packets/PacketImpl.ct b/senf/Packets/PacketImpl.ct index 93a757c..feb564d 100644 --- a/senf/Packets/PacketImpl.ct +++ b/senf/Packets/PacketImpl.ct @@ -43,14 +43,12 @@ prefix_ void * senf::detail::PacketImpl::complexAnnotation() { AnnotationRegistry::key_type key (AnnotationRegistry::lookup()); void * rv (complexAnnotation(key)); -#ifndef SENF_PACKET_NO_COMPLEX_ANNOTATIONS if (! rv) { while (complexAnnotations_.size() < ComplexAnnotations::size_type(-key)) complexAnnotations_.push_back(0); complexAnnotations_.replace(-key-1, new AnnotationRegistry::Entry()); rv = complexAnnotations_[-key-1].get(); } -#endif return rv; }