diff options
author | bunnei <bunneidev@gmail.com> | 2017-07-09 19:49:51 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-07-12 00:33:40 +0200 |
commit | 8af3ebb149b057b40bc4efd5bae2b9cb70b2066c (patch) | |
tree | 3625b4fe08f9c336879f244a298305c058cff1d2 /src/web_service | |
parent | web_service: Implement JSON serialization of telemetry data. (diff) | |
download | yuzu-8af3ebb149b057b40bc4efd5bae2b9cb70b2066c.tar yuzu-8af3ebb149b057b40bc4efd5bae2b9cb70b2066c.tar.gz yuzu-8af3ebb149b057b40bc4efd5bae2b9cb70b2066c.tar.bz2 yuzu-8af3ebb149b057b40bc4efd5bae2b9cb70b2066c.tar.lz yuzu-8af3ebb149b057b40bc4efd5bae2b9cb70b2066c.tar.xz yuzu-8af3ebb149b057b40bc4efd5bae2b9cb70b2066c.tar.zst yuzu-8af3ebb149b057b40bc4efd5bae2b9cb70b2066c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/web_service/telemetry_json.cpp | 2 | ||||
-rw-r--r-- | src/web_service/telemetry_json.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/web_service/telemetry_json.cpp b/src/web_service/telemetry_json.cpp index c61522ff1..a2d007e77 100644 --- a/src/web_service/telemetry_json.cpp +++ b/src/web_service/telemetry_json.cpp @@ -9,8 +9,6 @@ namespace WebService { -TelemetryJson::TelemetryJson() {} - template <class T> void TelemetryJson::Serialize(Telemetry::FieldType type, const std::string& name, T value) { sections[static_cast<u8>(type)][name] = value; diff --git a/src/web_service/telemetry_json.h b/src/web_service/telemetry_json.h index cc511cdd1..39038b4f9 100644 --- a/src/web_service/telemetry_json.h +++ b/src/web_service/telemetry_json.h @@ -17,7 +17,7 @@ namespace WebService { */ class TelemetryJson : public Telemetry::VisitorInterface { public: - TelemetryJson(); + TelemetryJson() = default; ~TelemetryJson() = default; void Visit(const Telemetry::Field<bool>& field) override; |