X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2Ftypeidvalue.hh;h=632fe131a4c6c1c356a6415367635bfa717ee32a;hb=0fff17bd2bcdbb1e91e216bf6e1bebc414713548;hp=425c14fbbcfcc92fff0ff167cfdfe54a241bc25a;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Packets/typeidvalue.hh b/Packets/typeidvalue.hh index 425c14f..632fe13 100644 --- a/Packets/typeidvalue.hh +++ b/Packets/typeidvalue.hh @@ -32,8 +32,8 @@ //#include "typeidvalue.mpp" ///////////////////////////////hh.p//////////////////////////////////////// -namespace satcom { -namespace lib { +namespace senf { + /** \brief Wrapper to use types as key's in a map */ @@ -68,6 +68,7 @@ namespace lib { template TypeIdValue(Type *); struct Value { + virtual ~Value() {} virtual std::type_info const & id() = 0; virtual Value * clone() = 0; }; @@ -88,7 +89,7 @@ namespace lib { template TypeIdValue const typeIdValue(); -}} +} ///////////////////////////////hh.e//////////////////////////////////////// #include "typeidvalue.cci" @@ -99,5 +100,5 @@ namespace lib { // Local Variables: // mode: c++ -// c-file-style: "satcom" +// c-file-style: "senf" // End: