some FIXMEs

stl_dim
Marius Kintel 2010-03-16 09:56:20 +01:00
parent 9bb4fc829a
commit 75cd0f291a
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ string NodeDumper::dumpChildren(const AbstractNode &node)
for (ChildList::const_iterator iter = this->visitedchildren[node.index()].begin(); for (ChildList::const_iterator iter = this->visitedchildren[node.index()].begin();
iter != this->visitedchildren[node.index()].end(); iter != this->visitedchildren[node.index()].end();
iter++) { iter++) {
// FIXME: assert that cache contains **iter
dump << this->cache[**iter] << "\n"; dump << this->cache[**iter] << "\n";
} }
@ -81,6 +82,7 @@ Response NodeDumper::visit(const State &state, const AbstractNode &node)
const string &NodeDumper::getDump() const const string &NodeDumper::getDump() const
{ {
assert(this->root); assert(this->root);
// FIXME: assert that cache contains root
return this->cache[*this->root]; return this->cache[*this->root];
} }

View File

@ -33,5 +33,4 @@ private:
NodeCache<string> cache; NodeCache<string> cache;
}; };
#endif #endif