mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-30 05:29:43 +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
				
			| @@ -59,7 +59,7 @@ int pipepair (zmq::object_t *parents_[2], | ||||
|  | ||||
| struct i_pipe_events | ||||
| { | ||||
|     virtual ~i_pipe_events () {} | ||||
|     virtual ~i_pipe_events () ZMQ_DEFAULT; | ||||
|  | ||||
|     virtual void read_activated (zmq::pipe_t *pipe_) = 0; | ||||
|     virtual void write_activated (zmq::pipe_t *pipe_) = 0; | ||||
| @@ -256,9 +256,7 @@ class pipe_t : public object_t, | ||||
|     // The endpoints of this pipe. | ||||
|     endpoint_uri_pair_t _endpoint_pair; | ||||
|  | ||||
|     //  Disable copying. | ||||
|     pipe_t (const pipe_t &); | ||||
|     const pipe_t &operator= (const pipe_t &); | ||||
|     ZMQ_NON_COPYABLE_NOR_MOVABLE (pipe_t) | ||||
| }; | ||||
|  | ||||
| void send_routing_id (pipe_t *pipe_, const options_t &options_); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user