numeric setting value display fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "command_line.h"
|
||||
#include "command_line.hpp"
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef UTIL_COMMAND_LINE_H_
|
||||
#define UTIL_COMMAND_LINE_H_
|
||||
#ifndef UTIL_COMMAND_LINE_HPP_
|
||||
#define UTIL_COMMAND_LINE_HPP_
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
/* @return false if engine start can*/
|
||||
extern bool parse_cmdline(int argc, char** argv, EnginePaths& paths);
|
||||
/// @return false if engine start can
|
||||
bool parse_cmdline(int argc, char** argv, EnginePaths& paths);
|
||||
|
||||
#endif // UTIL_COMMAND_LINE_H_
|
||||
#endif // UTIL_COMMAND_LINE_HPP_
|
||||
@@ -197,6 +197,7 @@ void util::trim(std::string &s) {
|
||||
|
||||
std::string util::to_string(double x) {
|
||||
std::stringstream ss;
|
||||
ss << std::setprecision(6);
|
||||
ss << x;
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user