summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/predicate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/predicate.cc b/src/predicate.cc
index e46b55c2..df0aee13 100644
--- a/src/predicate.cc
+++ b/src/predicate.cc
@@ -184,7 +184,7 @@ string args_to_predicate_expr(value_t::sequence_t::const_iterator begin,
begin++;
}
- return expr.str();
+ return std::string("(") + expr.str() + ")";
}
} // namespace ledger