mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -07:00
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:
parent
b2ad2acff3
commit
a5de633c64
3 changed files with 52 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue