aboutsummaryrefslogtreecommitdiffstats
path: root/src/pprint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pprint.cpp')
-rw-r--r--src/pprint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pprint.cpp b/src/pprint.cpp
index 3f2a5b8..78b13f4 100644
--- a/src/pprint.cpp
+++ b/src/pprint.cpp
@@ -72,7 +72,7 @@ void
pprint_internal(ostream& out, const AST* ast, unsigned indent)
{
const ATuple* tup = ast->to<const ATuple*>();
- if (tup && tup->size() > 0) {
+ if (tup && !tup->empty()) {
ATuple::const_iterator i = tup->begin() + 1;
const string head = tup->head()->str();
const ASymbol* headSym = tup->head()->to<const ASymbol*>();