From 6f0328104413584e22104635e956486665e5dae7 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Thu, 3 Nov 2022 19:17:27 -0400 Subject: [PATCH] phobos v2.101 random breaking change --- cgi.d | 2 +- http2.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi.d b/cgi.d index d6f422d..aad9760 100644 --- a/cgi.d +++ b/cgi.d @@ -5207,7 +5207,7 @@ private class FakeSocketForStdin : Socket { return buffer.length; } - override void close() @trusted { + override void close() @trusted scope { (cast(void delegate() @nogc nothrow) &realClose)(); } diff --git a/http2.d b/http2.d index 32a2281..8d066fa 100644 --- a/http2.d +++ b/http2.d @@ -3972,7 +3972,7 @@ version(use_openssl) { initSsl(verifyPeer, hostname); } - override void close() { + override void close() scope { if(ssl) OpenSSL.SSL_shutdown(ssl); super.close(); }