Fix for kind system changes

This commit is contained in:
Brian Anderson 2012-05-23 14:46:47 -07:00
parent c30e79fe7b
commit fc36426beb

View file

@ -129,7 +129,7 @@ impl reader_methods<T:send,A> for handle<T,A> {
} }
} }
impl private_methods<T:send,A> for scope<T,A> { impl private_methods<T: copy send,A> for scope<T,A> {
fn clone(v: *T) -> *T unsafe { fn clone(v: *T) -> *T unsafe {
let n: *mut T = let n: *mut T =
unsafe::reinterpret_cast( unsafe::reinterpret_cast(
@ -165,7 +165,7 @@ fn scope<T:send,A>() -> scope<T,A> {
mut first_dirty: null_handle()}) mut first_dirty: null_handle()})
} }
impl writer_methods<T:send,A> for scope<T,A> { impl writer_methods<T:copy send,A> for scope<T,A> {
fn is_reader_forked() -> bool { fn is_reader_forked() -> bool {
self.layout_active self.layout_active
} }