aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_import.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-11-14 21:29:49 +0200
committerRiccardo Spagni <ric@spagni.net>2017-11-14 21:29:49 +0200
commit5de492be40e9d55a9b432b562c72e933d0df0efb (patch)
tree46d23b2a38a41bbc6f1786f6c97413c1de3aefb5 /src/blockchain_utilities/blockchain_import.cpp
parentMerge pull request #2756 (diff)
parentremove "using namespace std" from headers (diff)
downloadmonero-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.cpp2
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);