summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-28 21:07:34 -0400
committerGravatar Lioncash2019-05-28 21:07:38 -0400
commit05af9d915ced92e72e20e3a2d6db831ad5a9a8e6 (patch)
tree0d771433254e8a863750c3e39c72bcdec15ecb4d /src/core
parentcore/telemetry_session: Remove unused include (diff)
downloadyuzu-05af9d915ced92e72e20e3a2d6db831ad5a9a8e6.tar.gz
yuzu-05af9d915ced92e72e20e3a2d6db831ad5a9a8e6.tar.xz
yuzu-05af9d915ced92e72e20e3a2d6db831ad5a9a8e6.zip
core/telemetry_session: Explicitly delete copy and move constructors
NonCopyable is misleading here. It also makes the class non-moveable as well, so we can be explicit about this.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/telemetry_session.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/telemetry_session.h b/src/core/telemetry_session.h
index 8229d1333..7d0c8d413 100644
--- a/src/core/telemetry_session.h
+++ b/src/core/telemetry_session.h
@@ -14,11 +14,17 @@ namespace Core {
14 * session, logging any one-time fields. Interfaces with the telemetry backend used for submitting 14 * session, logging any one-time fields. Interfaces with the telemetry backend used for submitting
15 * data to the web service. Submits session data on close. 15 * data to the web service. Submits session data on close.
16 */ 16 */
17class TelemetrySession : NonCopyable { 17class TelemetrySession {
18public: 18public:
19 TelemetrySession(); 19 TelemetrySession();
20 ~TelemetrySession(); 20 ~TelemetrySession();
21 21
22 TelemetrySession(const TelemetrySession&) = delete;
23 TelemetrySession& operator=(const TelemetrySession&) = delete;
24
25 TelemetrySession(TelemetrySession&&) = delete;
26 TelemetrySession& operator=(TelemetrySession&&) = delete;
27
22 /** 28 /**
23 * Wrapper around the Telemetry::FieldCollection::AddField method. 29 * Wrapper around the Telemetry::FieldCollection::AddField method.
24 * @param type Type of the field to add. 30 * @param type Type of the field to add.