Mercurial > projects > dwt-mac
diff dwt/dwthelper/OutputStream.d @ 36:db5a898b2119
Fixed a lot of compile errors
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Tue, 07 Oct 2008 12:56:18 +0200 |
parents | 380af2bdd8e5 |
children |
line wrap: on
line diff
--- a/dwt/dwthelper/OutputStream.d Sun Sep 14 23:32:29 2008 +0200 +++ b/dwt/dwthelper/OutputStream.d Tue Oct 07 12:56:18 2008 +0200 @@ -1,5 +1,6 @@ /** * Authors: Frank Benoit <keinfarbton@googlemail.com> + * Jacob Carlborg <jacob.carlborg@gmail.com> */ module dwt.dwthelper.OutputStream; @@ -8,7 +9,7 @@ public abstract class OutputStream { - private tango.io.model.IConduit.OutputStream ostr; + protected tango.io.model.IConduit.OutputStream ostr; public this(){ } @@ -32,7 +33,7 @@ } public void write( byte[] b, int off, int len ){ - implMissing( __FILE__, __LINE__ ); + ostr.write(b[off .. off + len]); } public void flush(){