about summary refs log tree commit diff
path: root/src/libcore/task
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-02-26 21:42:00 -0500
committerNiko Matsakis <niko@alum.mit.edu>2013-02-28 20:28:04 -0500
commit4ecb672d7f526cf2cda2d62c04106196ad57d7db (patch)
tree5575dfefa4247b4f64e24e57f70fdead59e97eb5 /src/libcore/task
parent5680ec027088c57f8b9fa3a9aa91daaf2428a57c (diff)
downloadrust-4ecb672d7f526cf2cda2d62c04106196ad57d7db.tar.gz
rust-4ecb672d7f526cf2cda2d62c04106196ad57d7db.zip
Remove legacy object creation mode, and convert remaining uses of it
Diffstat (limited to 'src/libcore/task')
-rw-r--r--src/libcore/task/local_data_priv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/task/local_data_priv.rs b/src/libcore/task/local_data_priv.rs
index 3ac457b23d1..df5a5af74ca 100644
--- a/src/libcore/task/local_data_priv.rs
+++ b/src/libcore/task/local_data_priv.rs
@@ -155,7 +155,7 @@ pub unsafe fn local_set<T:Durable>(
     // does not have a reference associated with it, so it may become invalid
     // when the box is destroyed.
     let data_ptr = cast::reinterpret_cast(&data);
-    let data_box = data as LocalData;
+    let data_box = @data as @LocalData;
     // Construct new entry to store in the map.
     let new_entry = Some((keyval, data_ptr, data_box));
     // Find a place to put it.