Remove reexport of HeapSizeOf in util (#6419)

This commit is contained in:
Axel Chalon
2017-08-30 16:04:47 +02:00
committed by Tomasz Drwięga
parent f7e15f2450
commit 6b5ad69c22
35 changed files with 51 additions and 20 deletions

View File

@@ -19,7 +19,8 @@
use engines::Engine;
use error::Error;
use util::{HeapSizeOf, H256, U256};
use heapsize::HeapSizeOf;
use util::{H256, U256};
pub use self::blocks::Blocks;
pub use self::headers::Headers;
@@ -72,7 +73,8 @@ pub mod blocks {
use header::Header;
use verification::{PreverifiedBlock, verify_block_basic, verify_block_unordered};
use util::{Bytes, HeapSizeOf, H256, U256};
use heapsize::HeapSizeOf;
use util::{Bytes, H256, U256};
/// A mode for verifying blocks.
pub struct Blocks;

View File

@@ -22,6 +22,7 @@ use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering as AtomicOrdering};
use std::sync::{Condvar as SCondvar, Mutex as SMutex, Arc};
use std::cmp;
use std::collections::{VecDeque, HashSet, HashMap};
use heapsize::HeapSizeOf;
use util::*;
use io::*;
use error::*;