diff options
Diffstat (limited to 'src/printer/ast')
-rw-r--r-- | src/printer/ast/ast_printer.cpp | 2 | ||||
-rw-r--r-- | src/printer/ast/ast_printer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/printer/ast/ast_printer.cpp b/src/printer/ast/ast_printer.cpp index 85742feef..f8e754868 100644 --- a/src/printer/ast/ast_printer.cpp +++ b/src/printer/ast/ast_printer.cpp @@ -187,7 +187,7 @@ void AstPrinter::toStream(std::ostream& out, const CommandStatus* s) const throw }/* AstPrinter::toStream(CommandStatus*) */ -void AstPrinter::toStream(std::ostream& out, Model* m, Command* c, int c_type ) const throw(){ +void AstPrinter::toStream(std::ostream& out, Model* m, const Command* c) const throw() { out << "Model()"; } diff --git a/src/printer/ast/ast_printer.h b/src/printer/ast/ast_printer.h index 1cac966df..d5701c088 100644 --- a/src/printer/ast/ast_printer.h +++ b/src/printer/ast/ast_printer.h @@ -36,7 +36,7 @@ public: void toStream(std::ostream& out, const Command* c, int toDepth, bool types, size_t dag) const throw(); void toStream(std::ostream& out, const CommandStatus* s) const throw(); //for models - void toStream(std::ostream& out, Model* m, Command* c, int c_type ) const throw(); + void toStream(std::ostream& out, Model* m, const Command* c) const throw(); };/* class AstPrinter */ }/* CVC4::printer::ast namespace */ |