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 @@ impl PacketHeader {
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);
}
}