From 71c83440d3ce2629540d136bd9c9433ba516921b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Fri, 27 Jan 2017 00:10:09 +0100 Subject: [PATCH] Remove the deprecated OutputStream.write methods. They will stay deprecated in vibe-d 0.8.0, but vibe-core will be released without them. --- source/vibe/core/stream.d | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/source/vibe/core/stream.d b/source/vibe/core/stream.d index 44216d8..cd8331a 100644 --- a/source/vibe/core/stream.d +++ b/source/vibe/core/stream.d @@ -174,18 +174,6 @@ interface OutputStream { /// ditto final void write(in char[] bytes) @blocking { write(cast(const(ubyte)[])bytes); } - /** Deprecated - writes the contents of an `InputStream` into this stream. - - This function will be removed. Use `pipe` instead. - - See_Also: `pipe` - */ - deprecated("Use s.pipe(this) instead.") - final void write(InputStream s) { s.pipe(this); } - /// ditto - deprecated("Use s.pipe(this, nbytes) instead.") - final void write(InputStream s, ulong nbytes) { s.pipe(this, nbytes); } - /** Flushes the stream and makes sure that all data is being written to the output device. */ void flush() @blocking;