CDRMonitor: lazy node creation

This commit is contained in:
Michael Davidsaver
2011-02-08 13:28:02 -05:00
parent 29bbaa60f6
commit 7d3e58fcc9
3 changed files with 39 additions and 6 deletions
+6
View File
@@ -86,5 +86,11 @@ CDRNode::show(FILE *fd)
fprintf(fd,"\n");
}
void
onceNode(void* raw)
{
CDRNodeInstance* inst=static_cast<CDRNodeInstance*>(raw);
inst->node=new CDRNode(inst->name);
}
}}