Skip to content

Commit

Permalink
Merge pull request #881 from drewnoakes/fix-queue-enumerator-bug
Browse files Browse the repository at this point in the history
Fix bug in NetMQQueue.GetEnumerator
  • Loading branch information
somdoron authored May 21, 2020
2 parents ba0bb88 + c81e926 commit 986129b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NetMQ/NetMQQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void Enqueue(T value)
/// <inheritdoc />
public IEnumerator<T> GetEnumerator() => m_queue.GetEnumerator();

IEnumerator IEnumerable.GetEnumerator() { yield return GetEnumerator(); }
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();

#endregion

Expand Down

0 comments on commit 986129b

Please sign in to comment.