Fix incorrect logical expression for intent check
This commit is contained in:
parent
8c1247c0a8
commit
dbcc5cfba0
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ std::ostream &operator<<(std::ostream &out, const Intent &intent) {
|
|||
out << " " << "package=" << intent.package << " ";
|
||||
if (!intent.component.empty())
|
||||
out << "component=" << intent.component << " ";
|
||||
if (!intent.categories.size() > 0) {
|
||||
if (intent.categories.size() > 0) {
|
||||
out << "categories=[ ";
|
||||
for (const auto &category : intent.categories) out << category << " ";
|
||||
out << "] ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue