Skip to content

Commit 986129b

Browse files
authored
Merge pull request #881 from drewnoakes/fix-queue-enumerator-bug
Fix bug in NetMQQueue.GetEnumerator
2 parents ba0bb88 + c81e926 commit 986129b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NetMQ/NetMQQueue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public void Enqueue(T value)
144144
/// <inheritdoc />
145145
public IEnumerator<T> GetEnumerator() => m_queue.GetEnumerator();
146146

147-
IEnumerator IEnumerable.GetEnumerator() { yield return GetEnumerator(); }
147+
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
148148

149149
#endregion
150150

0 commit comments

Comments
 (0)