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