node: do not use static member variable
authorBrian Norris <banorris@uci.edu>
Wed, 30 May 2012 15:06:02 +0000 (08:06 -0700)
committerBrian Norris <banorris@uci.edu>
Wed, 30 May 2012 15:09:36 +0000 (08:09 -0700)
commitb8bcaaa5a4b4d2413e3a0f419bbb91c540b28e50
tree98e994817cd67257a395203ed009f3fa9a95cd94
parentca4375ba4697b8abe476e03f211523c491c3e2c3
node: do not use static member variable

Static member variables of a class are going to be snapshotted. Move them so
they aren't static in order to prevent this.

(This can create interesting behavior, where the "total number of nodes
created" is decreasing at times!)
model.cc
nodestack.cc
nodestack.h