changeset 1152 | 1d06449f0a98 |
parent 1151 | 527d7b7e25af |
child 1153 | c33427a6bef0 |
--- a/src/common/header.h Sat Aug 04 16:37:16 2007 +0200 +++ b/src/common/header.h Sat Aug 04 16:49:06 2007 +0200 @@ -24,6 +24,16 @@ #include "chunk.h" +#define NS_HEADER_ENSURE_REGISTERED(x) \ +namespace { \ +static class thisisaveryverylongclassname \ +{ \ +public: \ + thisisaveryverylongclassname () \ + { uint32_t uid; uid = x::GetUid ();} \ +} g_thisisanotherveryveryverylongname; \ +} + namespace ns3 { /**