mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-28 11:31:56 +01:00 
			
		
		
		
	Problem: missing use of C++11 = delete and = default
Solution: introduce macros ZMQ_DEFAULT and ZMQ_NON_COPYABLE_NOR_MOVABLE
This commit is contained in:
		 Simon Giesecke
					Simon Giesecke
				
			
				
					committed by
					
						 Simon Giesecke
						Simon Giesecke
					
				
			
			
				
	
			
			
			 Simon Giesecke
						Simon Giesecke
					
				
			
						parent
						
							86d7de38ca
						
					
				
				
					commit
					f60f909899
				
			| @@ -48,8 +48,7 @@ class v1_encoder_t : public encoder_base_t<v1_encoder_t> | ||||
|  | ||||
|     unsigned char _tmpbuf[10]; | ||||
|  | ||||
|     v1_encoder_t (const v1_encoder_t &); | ||||
|     const v1_encoder_t &operator= (const v1_encoder_t &); | ||||
|     ZMQ_NON_COPYABLE_NOR_MOVABLE (v1_encoder_t) | ||||
| }; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user