Explorar el Código

use C#7.0 for default arguments

release/3.x.x
Бессонов Дмитрий hace 5 años
padre
commit
15ff03c136
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      Source/MQTTnet/Internal/BlockingQueue.cs

+ 2
- 2
Source/MQTTnet/Internal/BlockingQueue.cs Ver fichero

@@ -32,7 +32,7 @@ namespace MQTTnet.Internal
}
}

public TItem Dequeue(CancellationToken cancellationToken = default)
public TItem Dequeue(CancellationToken cancellationToken = default(CancellationToken))
{
while (true)
{
@@ -56,7 +56,7 @@ namespace MQTTnet.Internal
}
}
public TItem PeekAndWait(CancellationToken cancellationToken = default)
public TItem PeekAndWait(CancellationToken cancellationToken = default(CancellationToken))
{
while (true)
{


Cargando…
Cancelar
Guardar