Packets: Annotation documentation and remove SENF_PACKET_NO_COMPLEX_ANNOTATIONS
[senf.git] / senf / Packets / PacketImpl.ct
index 93a757c..feb564d 100644 (file)
@@ -43,14 +43,12 @@ prefix_ void * senf::detail::PacketImpl::complexAnnotation()
 {
     AnnotationRegistry::key_type key (AnnotationRegistry::lookup<Annotation>());
     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<Annotation>());
         rv = complexAnnotations_[-key-1].get();
     }
-#endif
     return rv;
 }