Skip to content

Commit

Permalink
Get rid of a few more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
khellang authored and ragnarstolsmark committed Oct 18, 2023
1 parent 19842b5 commit 16a0ebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Hangfire.Console/Progress/ProgressEnumerable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void Dispose()
}
}

public object Current => _enumerator.Current;
public object? Current => _enumerator.Current;

public bool MoveNext()
{
Expand Down Expand Up @@ -132,7 +132,7 @@ public Enumerator(IEnumerator<T> enumerator, IProgressBar progressBar, int count

public T Current => _enumerator.Current;

object IEnumerator.Current => ((IEnumerator)_enumerator).Current;
object? IEnumerator.Current => ((IEnumerator)_enumerator).Current;

public void Dispose()
{
Expand Down

0 comments on commit 16a0ebc

Please sign in to comment.