Fixed compiler warnings
This commit is contained in:
parent
bbadcf57b2
commit
dc229589bb
4 changed files with 47 additions and 47 deletions
|
@ -434,7 +434,7 @@ static std::string generate_system_info_json()
|
|||
|
||||
pt::ptree hw_node;
|
||||
{
|
||||
hw_node.put("ArchName", wxPlatformInfo::Get().GetArchName());
|
||||
hw_node.put("ArchName", wxPlatformInfo::Get().GetBitnessName());
|
||||
size_t num = std::round(Slic3r::total_physical_memory()/107374100.);
|
||||
hw_node.put("RAM_GiB", std::to_string(num / 10) + "." + std::to_string(num % 10));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue