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

@@ -36,7 +36,8 @@ use ethcore::header::Header;
use ethcore::ids::BlockId;
use rlp::{Encodable, Decodable, DecoderError, RlpStream, Rlp, UntrustedRlp};
use util::{H256, U256, HeapSizeOf, RwLock};
use heapsize::HeapSizeOf;
use util::{H256, U256, RwLock};
use util::kvdb::{DBTransaction, KeyValueDB};
use cache::Cache;

View File

@@ -330,7 +330,7 @@ impl Client {
/// Get blockchain mem usage in bytes.
pub fn chain_mem_used(&self) -> usize {
use util::HeapSizeOf;
use heapsize::HeapSizeOf;
self.chain.heap_size_of_children()
}