diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/reporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp index dbc350070..6ea26fda7 100644 --- a/src/core/reporter.cpp +++ b/src/core/reporter.cpp | |||
| @@ -34,7 +34,7 @@ std::string GetTimestamp() { | |||
| 34 | 34 | ||
| 35 | using namespace nlohmann; | 35 | using namespace nlohmann; |
| 36 | 36 | ||
| 37 | void SaveToFile(const json& json, const std::string& filename) { | 37 | void SaveToFile(json json, const std::string& filename) { |
| 38 | if (!FileUtil::CreateFullPath(filename)) { | 38 | if (!FileUtil::CreateFullPath(filename)) { |
| 39 | LOG_ERROR(Core, "Failed to create path for '{}' to save report!", filename); | 39 | LOG_ERROR(Core, "Failed to create path for '{}' to save report!", filename); |
| 40 | return; | 40 | return; |