summaryrefslogtreecommitdiff
path: root/src/printer/cvc
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-11-16 00:20:30 +0000
committerMorgan Deters <mdeters@gmail.com>2010-11-16 00:20:30 +0000
commitd5d504da7c73538642b9be86c73f8407e08ab57a (patch)
tree27eb4f4cd10c311a490e5fe2adf4a45aec54c18a /src/printer/cvc
parent759e85ae22536844a8c37714676bf9a65d7cc2b5 (diff)
fix function signatures
Diffstat (limited to 'src/printer/cvc')
-rw-r--r--src/printer/cvc/cvc_printer.cpp6
-rw-r--r--src/printer/cvc/cvc_printer.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/printer/cvc/cvc_printer.cpp b/src/printer/cvc/cvc_printer.cpp
index ab278e804..d2cf3f8b1 100644
--- a/src/printer/cvc/cvc_printer.cpp
+++ b/src/printer/cvc/cvc_printer.cpp
@@ -27,9 +27,9 @@ namespace CVC4 {
namespace printer {
namespace cvc {
-std::ostream& CvcPrinter::toStream(std::ostream& out, TNode n,
- int toDepth, bool types) const {
- return n.toStream(out, toDepth, types, language::output::LANG_AST);
+void CvcPrinter::toStream(std::ostream& out, TNode n,
+ int toDepth, bool types) const {
+ n.toStream(out, toDepth, types, language::output::LANG_AST);
}/* CvcPrinter::toStream() */
}/* CVC4::printer::cvc namespace */
diff --git a/src/printer/cvc/cvc_printer.h b/src/printer/cvc/cvc_printer.h
index 53889a989..410be0571 100644
--- a/src/printer/cvc/cvc_printer.h
+++ b/src/printer/cvc/cvc_printer.h
@@ -31,7 +31,7 @@ namespace cvc {
class CvcPrinter : public CVC4::Printer {
public:
- std::ostream& toStream(std::ostream& out, TNode n, int toDepth, bool types) const;
+ void toStream(std::ostream& out, TNode n, int toDepth, bool types) const;
};/* class CvcPrinter */
}/* CVC4::printer::cvc namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback