mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00: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>
|
||||
/// Query and populate results.
|
||||
/// </summary>
|
||||
/// <param name="filter">An optional filter to refine results.</param>
|
||||
/// <param name="filter">An filter to refine results.</param>
|
||||
/// <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
|
||||
{
|
||||
checkType(typeof(T));
|
||||
|
Loading…
Reference in New Issue
Block a user