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/printer.cpp | |
parent | 7e1aae3dc746f4b7df2f65fb373ffc26e1a0498a (diff) |
Model output is now const; this related to bug 519
Diffstat (limited to 'src/printer/printer.cpp')
-rw-r--r-- | src/printer/printer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer/printer.cpp b/src/printer/printer.cpp index 2a10ae451..344cbfe8c 100644 --- a/src/printer/printer.cpp +++ b/src/printer/printer.cpp @@ -125,7 +125,7 @@ void Printer::toStream(std::ostream& out, const SExpr& sexpr) const throw() { } }/* Printer::toStream(SExpr) */ -void Printer::toStream(std::ostream& out, Model& m) const throw() { +void Printer::toStream(std::ostream& out, const Model& m) const throw() { for(size_t i = 0; i < m.getNumCommands(); ++i) { toStream(out, m, m.getCommand(i)); } |