Demode pipes::set_buffer

This commit is contained in:
Tim Chevalier 2012-09-25 22:01:05 -07:00
parent d8ef6bfebf
commit 00ffb15aac

View File

@ -189,7 +189,7 @@ unsafe fn buf_header() -> ~BufferHeader {
reinterpret_cast(&self.buffer)
}
fn set_buffer<T: Send>(b: ~Buffer<T>) unsafe {
fn set_buffer<T: Send>(+b: ~Buffer<T>) unsafe {
self.buffer = reinterpret_cast(&b);
}
}