diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-09-14 15:13:37 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-09-14 15:13:37 +0000 |
commit | 080fc73c61ca11a539fd5239146a828e86b9e29a (patch) | |
tree | e85086eafa39013a06b04f7704a17e8a5d977b57 /src/printer | |
parent | 01dfa806851502267e1032483fec48e8b4373634 (diff) |
Fix a few minor issues in options processing, improving usability, consistency, error-reporting, and documentation.
Diffstat (limited to 'src/printer')
-rw-r--r-- | src/printer/printer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/printer/printer.cpp b/src/printer/printer.cpp index 24baafa14..54482a8c3 100644 --- a/src/printer/printer.cpp +++ b/src/printer/printer.cpp @@ -125,12 +125,12 @@ void Printer::toStream(std::ostream& out, const SExpr& sexpr) const throw() { } out << ')'; } -}/* Printer::toStream() */ +}/* Printer::toStream(SExpr) */ -void Printer::toStream(std::ostream& out, Model* m ) const throw(){ - for( int i=0; i<m->getNumCommands(); i++ ){ - toStream( out, m, m->getCommand( i ), m->getCommandType( i ) ); +void Printer::toStream(std::ostream& out, Model* m) const throw() { + for(size_t i = 0; i < m->getNumCommands(); i++ ){ + toStream(out, m, m->getCommand(i), m->getCommandType(i)); } -} +}/* Printer::toStream(Model) */ }/* CVC4 namespace */ |