fixed compilation

This commit is contained in:
JanEggers
2020-01-04 11:53:15 +01:00
parent 27a61819d3
commit 138cd16c8d
2 changed files with 14 additions and 1 deletions
@@ -88,5 +88,17 @@ namespace MQTTnet.Implementations
#endif
}
public static Task CompletedTask
{
get
{
#if NET452
return Task.FromResult(0);
#else
return Task.CompletedTask;
#endif
}
}
}
}