--- a/src/common/trace-context.cc Wed Aug 08 10:01:19 2007 +0200
+++ b/src/common/trace-context.cc Wed Aug 08 10:06:58 2007 +0200
@@ -242,7 +242,7 @@
class Ctx : public TraceContextElement
{
public:
- static uint16_t GetUid (void) {static uint16_t uid = Register<Ctx<N> > (GetName ()); return uid;}
+ static uint16_t GetUid (void) {static uint16_t uid = AllocateUid<Ctx<N> > (GetName ()); return uid;}
static std::string GetName (void) {std::ostringstream oss; oss << "Ctx" << N; return oss.str ();}
Ctx () : m_v (0) {}
Ctx (int v) : m_v (v) {}