aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/CommunityRatingComparer.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-05-20 21:28:18 +0200
committerBond_009 <bond.009@outlook.com>2021-05-20 22:48:53 +0200
commit7e8428e588b3f0a0574da44081098c64fe1a47d7 (patch)
tree4dd11afc9e5b38d46366a9fea207e1dbb82a3e56 /Emby.Server.Implementations/Sorting/CommunityRatingComparer.cs
parente8790bfa963284863dc1126a83df72309ec30561 (diff)
Enable nullable reference types for Emby.Server.Implementations
Diffstat (limited to 'Emby.Server.Implementations/Sorting/CommunityRatingComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/CommunityRatingComparer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Sorting/CommunityRatingComparer.cs b/Emby.Server.Implementations/Sorting/CommunityRatingComparer.cs
index 980954ba0..5f142fa4b 100644
--- a/Emby.Server.Implementations/Sorting/CommunityRatingComparer.cs
+++ b/Emby.Server.Implementations/Sorting/CommunityRatingComparer.cs
@@ -21,7 +21,7 @@ namespace Emby.Server.Implementations.Sorting
/// <param name="x">The x.</param>
/// <param name="y">The y.</param>
/// <returns>System.Int32.</returns>
- public int Compare(BaseItem x, BaseItem y)
+ public int Compare(BaseItem? x, BaseItem? y)
{
if (x == null)
{