diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2013-02-26 21:42:00 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2013-02-28 20:28:04 -0500 |
| commit | 4ecb672d7f526cf2cda2d62c04106196ad57d7db (patch) | |
| tree | 5575dfefa4247b4f64e24e57f70fdead59e97eb5 /src/libcore/task | |
| parent | 5680ec027088c57f8b9fa3a9aa91daaf2428a57c (diff) | |
| download | rust-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.rs | 2 |
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. |
