From 15ff03c136a65269aaaa2868388ba820f35de679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=B5=D1=81=D1=81=D0=BE=D0=BD=D0=BE=D0=B2=20=D0=94?= =?UTF-8?q?=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Mon, 30 Sep 2019 16:10:30 +0300 Subject: [PATCH] use C#7.0 for default arguments --- Source/MQTTnet/Internal/BlockingQueue.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/MQTTnet/Internal/BlockingQueue.cs b/Source/MQTTnet/Internal/BlockingQueue.cs index bac1a67..871c40a 100644 --- a/Source/MQTTnet/Internal/BlockingQueue.cs +++ b/Source/MQTTnet/Internal/BlockingQueue.cs @@ -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) {