summaryrefslogtreecommitdiff
path: root/src/core/reporter.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-09-22 12:28:21 -0400
committerZach Hilman <zachhilman@gmail.com>2019-09-22 12:34:55 -0400
commit6212df3beb38d0484b6ceedad18be99f107f7d96 (patch)
treefea1951fc95ba679834f2d690b19cc7b3de2e574 /src/core/reporter.cpp
parentfa6531ab0fbb2d08f9c7e1642d5ff83fb50b829d (diff)
lm: Flush manager output on core shutdown
Diffstat (limited to 'src/core/reporter.cpp')
-rw-r--r--src/core/reporter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp
index a465d7421..6f4af77fd 100644
--- a/src/core/reporter.cpp
+++ b/src/core/reporter.cpp
@@ -8,7 +8,6 @@
#include <fmt/chrono.h>
#include <fmt/format.h>
#include <fmt/ostream.h>
-#include <fmt/time.h>
#include <json.hpp>
#include "common/file_util.h"
@@ -393,11 +392,11 @@ void Reporter::SaveLogReport(u32 destination, std::vector<Service::LM::LogMessag
out["type"] = fmt::format("{}", kv.first);
out["data"] =
Service::LM::FormatField(kv.first, kv.second);
- return std::move(out);
+ return out;
});
out["fields"] = std::move(fields);
- return std::move(out);
+ return out;
});
out["log_messages"] = std::move(json_messages);