VERY experimental Nintendo Switch 2 emulator
C++
core/telemetry_session: Explicitly delete copy and move constructors
Lioncash8174fa5f9dcf
diff --git a/src/core/telemetry_session.h b/src/core/telemetry_session.hindex 8229d1333a..7d0c8d4131 100644--- a/src/core/telemetry_session.h+++ b/src/core/telemetry_session.h@@ -14,11 +14,17 @@ namespace Core {* session, logging any one-time fields. Interfaces with the telemetry backend used for submitting* data to the web service. Submits session data on close.*/-class TelemetrySession : NonCopyable {+class TelemetrySession {public:TelemetrySession();~TelemetrySession();+ TelemetrySession(const TelemetrySession&) = delete;+ TelemetrySession& operator=(const TelemetrySession&) = delete;++ TelemetrySession(TelemetrySession&&) = delete;+ TelemetrySession& operator=(TelemetrySession&&) = delete;+/*** Wrapper around the Telemetry::FieldCollection::AddField method.* @param type Type of the field to add.