update throughput test to new File API

closes #1468
This commit is contained in:
Andrew Kelley 2018-09-04 15:33:44 -04:00
parent 68db9d5074
commit b00007056d
No known key found for this signature in database
GPG Key ID: 4E7CD66038A4D47C

View File

@ -130,7 +130,7 @@ fn printPad(stdout: var, s: []const u8) !void {
pub fn main() !void {
var stdout_file = try std.io.getStdOut();
var stdout_out_stream = std.io.FileOutStream.init(&stdout_file);
var stdout_out_stream = std.io.FileOutStream.init(stdout_file);
const stdout = &stdout_out_stream.stream;
var buffer: [1024]u8 = undefined;