[CardDatabase] Store querier not as pointer

This commit is contained in:
RickyRister 2026-03-26 09:59:38 -07:00 • committed by Lukas Brübach
parent 3931447729
commit 598da954fc
6 changed files with 10 additions and 16 deletions

View file

@ -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;
}