diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2013-07-06 20:32:48 -0400 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2013-07-06 20:50:16 -0400 |
commit | 446cba594a8b26c03aabb2385b18c2ccad637f2f (patch) | |
tree | ae7cb8132f19562cdcd8340d579aaf1384a6d2d7 /src/printer/ast/ast_printer.cpp | |
parent | 7e1aae3dc746f4b7df2f65fb373ffc26e1a0498a (diff) |
Model output is now const; this related to bug 519
Diffstat (limited to 'src/printer/ast/ast_printer.cpp')
-rw-r--r-- | src/printer/ast/ast_printer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printer/ast/ast_printer.cpp b/src/printer/ast/ast_printer.cpp index 57462c9f7..88c769f26 100644 --- a/src/printer/ast/ast_printer.cpp +++ b/src/printer/ast/ast_printer.cpp @@ -185,11 +185,11 @@ void AstPrinter::toStream(std::ostream& out, const CommandStatus* s) const throw }/* AstPrinter::toStream(CommandStatus*) */ -void AstPrinter::toStream(std::ostream& out, Model& m) const throw() { +void AstPrinter::toStream(std::ostream& out, const Model& m) const throw() { out << "Model()"; } -void AstPrinter::toStream(std::ostream& out, Model& m, const Command* c) const throw() { +void AstPrinter::toStream(std::ostream& out, const Model& m, const Command* c) const throw() { // shouldn't be called; only the non-Command* version above should be Unreachable(); } |