mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-08 20:41:35 +00:00
added namespace and include to previous commit
This commit is contained in:
parent
32123aec2b
commit
57101c1b19
1 changed files with 7 additions and 6 deletions
|
@ -5,6 +5,7 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
#include <boost/program_options.hpp>
|
#include <boost/program_options.hpp>
|
||||||
|
|
||||||
|
@ -443,7 +444,7 @@ int clone(Arguments& info)
|
||||||
|
|
||||||
int digitCount = 1; // For a nicer output
|
int digitCount = 1; // For a nicer output
|
||||||
if (recordCount > 0)
|
if (recordCount > 0)
|
||||||
digitCount = (int)log10(recordCount) + 1;
|
digitCount = (int)std::log10(recordCount) + 1;
|
||||||
|
|
||||||
std::cout << "Loaded " << recordCount << " records:" << std::endl << std::endl;
|
std::cout << "Loaded " << recordCount << " records:" << std::endl << std::endl;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue