X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FFUTURE;h=65d4484e5b8e6bc1957595f0c7e090eebee3c6d9;hb=0fff17bd2bcdbb1e91e216bf6e1bebc414713548;hp=36f879a4dc374881c91bbe60805756a56df55eb7;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Packets/FUTURE b/Packets/FUTURE index 36f879a..65d4484 100644 --- a/Packets/FUTURE +++ b/Packets/FUTURE @@ -14,15 +14,15 @@ next free typeid integer. This can then efficiently be returned by the static retrieval function: template - struct satcom::vtable::impl::TypeRegistry + struct senf::vtable::impl::TypeRegistry { static unsigned id() { - static satcom::vtable::impl::AutoTypeId typeid; + static senf::vtable::impl::AutoTypeId typeid; return typeid.id(); } }; - struct satcom::vtable::impl::AutoTypeId + struct senf::vtable::impl::AutoTypeId { AutoTypeId() : id(nextAutoTypeId()) {} unsigned id; @@ -36,7 +36,7 @@ static retrieval function: This setup will assign id's uniquely. The Id's will be ordered by the first TypeRegistry::id() call. To get the Type id of a type, just call -satcom::vtable::impl::TypeRegistry::id(). +senf::vtable::impl::TypeRegistry::id(). The above is bogus ... we don't register the extensible types, we register the extensions which are arbitrary types.