mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									318095f9b9
								
							
						
					
					
						commit
						55ec0f5850
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -15,11 +15,17 @@ namespace Core { | ||||||
|  * session, logging any one-time fields. Interfaces with the telemetry backend used for submitting |  * session, logging any one-time fields. Interfaces with the telemetry backend used for submitting | ||||||
|  * data to the web service. Submits session data on close. |  * data to the web service. Submits session data on close. | ||||||
|  */ |  */ | ||||||
| class TelemetrySession : NonCopyable { | class TelemetrySession { | ||||||
| public: | public: | ||||||
|     TelemetrySession(); |     TelemetrySession(); | ||||||
|     ~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. |      * Wrapper around the Telemetry::FieldCollection::AddField method. | ||||||
|      * @param type Type of the field to add. |      * @param type Type of the field to add. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue