warn if "play top card until" filter expression doesn't match any card in database (#5243)

* make FilterString::check const

* implement thing
This commit is contained in:
RickyRister 2024-12-13 13:58:29 -08:00 committed by GitHub
parent b2ad2acff3
commit a5de633c64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 52 additions and 5 deletions

View file

@ -26,7 +26,7 @@ class FilterString
public:
FilterString();
explicit FilterString(const QString &exp);
bool check(const CardData &card)
bool check(const CardData &card) const
{
return result(card);
}