Skip to content

Commit c81e926

Browse files
committed
Fix bug in NetMQQueue.GetEnumerator
This problem only existed in the non-generic interface implementation.
1 parent bad9dc7 commit c81e926

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
@@ -141,7 +141,7 @@ public void Enqueue(T value)
141141
/// <inheritdoc />
142142
public IEnumerator<T> GetEnumerator() => m_queue.GetEnumerator();
143143

144-
IEnumerator IEnumerable.GetEnumerator() { yield return GetEnumerator(); }
144+
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
145145

146146
#endregion
147147

0 commit comments

Comments
 (0)