mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Fix compiler warnings.
This commit is contained in:
parent
e767bb9fe9
commit
c9236a7337
6 changed files with 9 additions and 9 deletions
|
|
@ -717,7 +717,7 @@ bool Local_Storage::load_json(std::string full_path, nlohmann::json& json)
|
|||
|
||||
try {
|
||||
json = std::move(nlohmann::json::parse(buffer));
|
||||
PRINT_DEBUG("Loaded json \"%s\". Loaded %u items.\n", full_path.c_str(), json.size());
|
||||
PRINT_DEBUG("Loaded json \"%s\". Loaded %" PRI_ZU " items.\n", full_path.c_str(), json.size());
|
||||
return true;
|
||||
} catch (std::exception& e) {
|
||||
PRINT_DEBUG("Error while parsing \"%s\" json: %s\n", full_path.c_str(), e.what());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue