Bump heapsize to 0.3

This commit is contained in:
Anthony Ramine 2016-02-11 17:04:57 +01:00
parent 26a82a6338
commit 55dcee94be
21 changed files with 106 additions and 116 deletions

View file

@ -2446,7 +2446,7 @@ impl HeapSizeOf for UniqueId {
#[allow(unsafe_code)]
fn heap_size_of_children(&self) -> usize {
if let &Some(ref uuid) = unsafe { &*self.cell.get() } {
heap_size_of(&** uuid as *const Uuid as *const c_void)
unsafe { heap_size_of(&** uuid as *const Uuid as *const _) }
} else {
0
}