mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 07:10:46 -08:00
remove "using namespace std" from headers
It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap;
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user