Change taskgroup key type to fn:Copy in prep for noncopyable stack closures.

This commit is contained in:
Ben Blum
2013-06-21 18:52:53 -04:00
parent 4e78c1e2a8
commit 5784c0912f
4 changed files with 4 additions and 4 deletions

View File

@@ -704,7 +704,7 @@ pub fn new_sctable_internal() -> SCTable {
pub fn get_sctable() -> @mut SCTable {
unsafe {
let sctable_key = (cast::transmute::<(uint, uint),
&fn(v: @@mut SCTable)>(
&fn:Copy(v: @@mut SCTable)>(
(-4 as uint, 0u)));
match local_data::local_data_get(sctable_key) {
None => {