diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-11-14 21:29:49 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-11-14 21:29:49 +0200 |
commit | 5de492be40e9d55a9b432b562c72e933d0df0efb (patch) | |
tree | 46d23b2a38a41bbc6f1786f6c97413c1de3aefb5 /src/blockchain_utilities/blockchain_import.cpp | |
parent | Merge pull request #2756 (diff) | |
parent | remove "using namespace std" from headers (diff) | |
download | monero-5de492be40e9d55a9b432b562c72e933d0df0efb.tar.xz |
Merge pull request #2629
383ff4f6 remove "using namespace std" from headers (moneromooo-monero)
Diffstat (limited to 'src/blockchain_utilities/blockchain_import.cpp')
-rw-r--r-- | src/blockchain_utilities/blockchain_import.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_import.cpp b/src/blockchain_utilities/blockchain_import.cpp index 2a956dbdb..2153383bb 100644 --- a/src/blockchain_utilities/blockchain_import.cpp +++ b/src/blockchain_utilities/blockchain_import.cpp @@ -256,7 +256,7 @@ int import_from_file(cryptonote::core& core, const std::string& import_file_path seek_height = start_height; BootstrapFile bootstrap; - streampos pos; + std::streampos pos; // BootstrapFile bootstrap(import_file_path); uint64_t total_source_blocks = bootstrap.count_blocks(import_file_path, pos, seek_height); MINFO("bootstrap file last block number: " << total_source_blocks-1 << " (zero-based height) total blocks: " << total_source_blocks); |