Demode pipes::set_buffer
This commit is contained in:
parent
d8ef6bfebf
commit
00ffb15aac
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user