X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker.git;a=blobdiff_plain;f=nodestack.cc;h=0be23af47643d269f207e80a474e03ea4ab84847;hp=a73765320dac47e97428390fe37bc3b06ba10483;hb=424d7c7ac7b4f10da72e9da25a1346c00298af3a;hpb=2c830a91c32a55de67c21e03f36529f994d9139d diff --git a/nodestack.cc b/nodestack.cc index a737653..0be23af 100644 --- a/nodestack.cc +++ b/nodestack.cc @@ -362,12 +362,12 @@ void Node::explore(thread_id_t tid) explored_children[i] = true; } -NodeStack::NodeStack() - : total_nodes(0) +NodeStack::NodeStack() : + node_list(1, new Node()), + iter(0), + total_nodes(0) { - node_list.push_back(new Node()); total_nodes++; - iter = 0; } NodeStack::~NodeStack()