1
0
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:
Dean Herbert 2017-07-31 18:41:54 +09:00
parent 92b3c7ac08
commit bc8f8de049

View File

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