Skip to content
Snippets Groups Projects
Commit 05af9d91 authored by Lioncash's avatar Lioncash
Browse files

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.
parent 2fb3b9b9
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment