mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 13:00:01 -08:00
[CardDatabase] Store querier not as pointer
This commit is contained in:
parent
3931447729
commit
598da954fc
6 changed files with 10 additions and 16 deletions
|
|
@ -60,9 +60,8 @@ protected:
|
|||
LoadStatus loadStatus;
|
||||
|
||||
/** @brief Querier for higher-level card lookups. */
|
||||
CardDatabaseQuerier *querier;
|
||||
CardDatabaseQuerier querier;
|
||||
|
||||
private:
|
||||
/**
|
||||
* @brief Refreshes the cached reverse-related cards for all cards.
|
||||
*/
|
||||
|
|
@ -143,7 +142,7 @@ public:
|
|||
}
|
||||
|
||||
/** @brief Returns the querier for performing card lookups. */
|
||||
[[nodiscard]] CardDatabaseQuerier *query() const
|
||||
[[nodiscard]] CardDatabaseQuerier const &query() const
|
||||
{
|
||||
return querier;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue