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.h | |
parent | 7e1aae3dc746f4b7df2f65fb373ffc26e1a0498a (diff) |
Model output is now const; this related to bug 519
Diffstat (limited to 'src/printer/printer.h')
-rw-r--r-- | src/printer/printer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printer/printer.h b/src/printer/printer.h index 48a041d6a..5198a6ef1 100644 --- a/src/printer/printer.h +++ b/src/printer/printer.h @@ -43,7 +43,7 @@ protected: Printer() throw() {} /** write model response to command */ - virtual void toStream(std::ostream& out, Model& m, const Command* c) const throw() = 0; + virtual void toStream(std::ostream& out, const Model& m, const Command* c) const throw() = 0; public: /** Get the Printer for a given OutputLanguage */ @@ -79,7 +79,7 @@ public: virtual void toStream(std::ostream& out, const Result& r) const throw(); /** Write a Model out to a stream with this Printer. */ - virtual void toStream(std::ostream& out, Model& m) const throw(); + virtual void toStream(std::ostream& out, const Model& m) const throw(); };/* class Printer */ |