diff --git a/source/concurrency/sender.d b/source/concurrency/sender.d index 329bbf4..ad3480b 100644 --- a/source/concurrency/sender.d +++ b/source/concurrency/sender.d @@ -598,7 +598,7 @@ class Promise(T) { } } - private auto ref unshared() @trusted nothrow shared { + private auto unshared() @trusted nothrow shared { return cast() this; } }