summaryrefslogtreecommitdiffstats
path: root/src/web_service
diff options
context:
space:
mode:
Diffstat (limited to 'src/web_service')
-rw-r--r--src/web_service/telemetry_json.cpp2
-rw-r--r--src/web_service/telemetry_json.h2
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;