From 7bce9f8a7f876c9c6de981457e05c19256423db8 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Fri, 16 Jun 2023 16:17:49 +0000 Subject: [PATCH] fix: Fix typo 'groups' -> 'currencies' --- src/lib/domain/SecurityCriteriaClause.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/domain/SecurityCriteriaClause.cpp b/src/lib/domain/SecurityCriteriaClause.cpp index 0816bd1d6..6abd2c8ff 100644 --- a/src/lib/domain/SecurityCriteriaClause.cpp +++ b/src/lib/domain/SecurityCriteriaClause.cpp @@ -157,7 +157,7 @@ std::string SecurityCriteriaClause::to_expression_str() const { and_parts.push_back( FMT("(group == {})", FMT_JOIN(groups, " || group == "))); } - if (!groups.empty()) { + if (!currencies.empty()) { and_parts.push_back( FMT("(currency == {})", FMT_JOIN(currencies, " || currency == "))); }