projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nodestack: move has_priority() out of header
[model-checker.git]
/
cyclegraph.cc
diff --git
a/cyclegraph.cc
b/cyclegraph.cc
index 321ebe9e2f242babe1adad4e233dd7fe51427e71..aa3d24548a554ab039074282f5bab3246e3d3ccd 100644
(file)
--- a/
cyclegraph.cc
+++ b/
cyclegraph.cc
@@
-173,7
+173,7
@@
bool CycleGraph::checkReachable(const ModelAction *from, const ModelAction *to)
* @return True, @a from can reach @a to; otherwise, false
*/
bool CycleGraph::checkReachable(CycleNode *from, CycleNode *to) {
* @return True, @a from can reach @a to; otherwise, false
*/
bool CycleGraph::checkReachable(CycleNode *from, CycleNode *to) {
- std::vector<CycleNode *, M
y
Alloc<CycleNode *> > queue;
+ std::vector<CycleNode *, M
odel
Alloc<CycleNode *> > queue;
HashTable<CycleNode *, CycleNode *, uintptr_t, 4, model_malloc, model_calloc, model_free> discovered;
queue.push_back(from);
HashTable<CycleNode *, CycleNode *, uintptr_t, 4, model_malloc, model_calloc, model_free> discovered;
queue.push_back(from);