summaryrefslogtreecommitdiff
path: root/src/expr
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr')
-rw-r--r--src/expr/command.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/expr/command.cpp b/src/expr/command.cpp
index bcc96637f..48cf4ea93 100644
--- a/src/expr/command.cpp
+++ b/src/expr/command.cpp
@@ -155,9 +155,7 @@ void QueryCommand::printResult(std::ostream& out) const {
}
void QueryCommand::toStream(std::ostream& out) const {
- out << "Query(";
- d_expr.printAst(out, 0);
- out << ")";
+ out << "Query(" << d_expr << ')';
}
/* class CommandSequence */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback