mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:32:55 +08:00
Make QueryAndPopulate's filter non-optional (you basically *never* want this missing)
This commit is contained in:
parent
92b3c7ac08
commit
bc8f8de049
@ -83,9 +83,9 @@ namespace osu.Game.Database
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Query and populate results.
|
/// Query and populate results.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="filter">An optional filter to refine results.</param>
|
/// <param name="filter">An filter to refine results.</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public List<T> QueryAndPopulate<T>(Expression<Func<T, bool>> filter = null)
|
public List<T> QueryAndPopulate<T>(Expression<Func<T, bool>> filter)
|
||||||
where T : class
|
where T : class
|
||||||
{
|
{
|
||||||
checkType(typeof(T));
|
checkType(typeof(T));
|
||||||
|
Loading…
Reference in New Issue
Block a user