diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-09-29 08:14:12 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-09-29 08:14:12 -0700 |
| commit | e44393a953a4654aa14d37df588cf490e1120240 (patch) | |
| tree | 8b31a1a18eb94446c96afe510ac0d8bcb3bb3d8d /src/liballoc | |
| parent | 55754ed893ae7c07e813bd64b3c272d3d741d1e0 (diff) | |
| parent | f8a180b36ed4d048dbbb88037c3f35afab6b64ff (diff) | |
| download | rust-e44393a953a4654aa14d37df588cf490e1120240.tar.gz rust-e44393a953a4654aa14d37df588cf490e1120240.zip | |
rollup merge of #17582 : kmcallister/gc-box
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/util.rs b/src/liballoc/util.rs index 7e35af79eab..d5f0d25fb01 100644 --- a/src/liballoc/util.rs +++ b/src/liballoc/util.rs @@ -16,7 +16,7 @@ use core::raw; #[inline] #[deprecated] pub fn get_box_size(body_size: uint, body_align: uint) -> uint { - let header_size = mem::size_of::<raw::Box<()>>(); + let header_size = mem::size_of::<raw::GcBox<()>>(); let total_size = align_to(header_size, body_align) + body_size; total_size } |
