From: Brian Norris Date: Mon, 30 Apr 2012 23:35:59 +0000 (-0700) Subject: model: remove braces X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c6d91a093b2db44e912b356e709d010dfb8ac303;p=c11tester.git model: remove braces --- diff --git a/model.cc b/model.cc index f447c1df..3cc536b6 100644 --- a/model.cc +++ b/model.cc @@ -38,9 +38,8 @@ void ModelChecker::reset_to_initial_state() { DEBUG("+++ Resetting to initial state +++\n"); std::map::iterator it; - for (it = thread_map.begin(); it != thread_map.end(); it++) { + for (it = thread_map.begin(); it != thread_map.end(); it++) delete (*it).second; - } thread_map.clear(); action_trace = new action_list_t(); currentNode = rootNode;