Skip to content

Commit

Permalink
Merge pull request #354 from ugermann/master
Browse files Browse the repository at this point in the history
Fixed a few missing std:: in examples/storage-visualization.cpp.
  • Loading branch information
mpetri authored Nov 18, 2016
2 parents eb76c60 + ce4eb5b commit e609307
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/storage-visualization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ using namespace sdsl;
int main(int argc, char** argv)
{
if (argc < 2) {
cout << "Usage: " << argv[0] << " file" << std::endl;
cout << " Creates a CST for a byte file and visualizes the space used by the data structure." << std::endl;
return 1;
std::cout << "Usage: " << argv[0] << " file" << std::endl;
std::cout << " Creates a CST for a byte file and visualizes the space used by the data structure." << std::endl;
return 1;
}
cst_sct3<> cst;
auto start = timer::now();
cout << "constructing cst..." << std::endl;
std::cout << "constructing cst..." << std::endl;
construct(cst, argv[1], 1);
cout << "construction cst time in seconds: " << duration_cast<seconds>(timer::now()-start).count() << std::endl;
std::cout << "construction cst time in seconds: " << duration_cast<seconds>(timer::now()-start).count() << std::endl;

std::ofstream ofs("cst-space-usage.html");
std::cout << "writing storage visualization to cst-space-usage.html" << std::endl;
Expand Down

0 comments on commit e609307

Please sign in to comment.