mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-30 13:47:10 +01:00 
			
		
		
		
	ifdef auto_ptr
This commit is contained in:
		| @@ -108,11 +108,11 @@ void TCPServerDispatcher::run() | ||||
| 			TCPConnectionNotification* pCNf = dynamic_cast<TCPConnectionNotification*>(pNf.get()); | ||||
| 			if (pCNf) | ||||
| 			{ | ||||
| #if __cplusplus < 201103L | ||||
| #ifndef POCO_ENABLE_CPP11 | ||||
| 				std::auto_ptr<TCPServerConnection> pConnection(_pConnectionFactory->createConnection(pCNf->socket())); | ||||
| #else | ||||
| 				std::unique_ptr<TCPServerConnection> pConnection(_pConnectionFactory->createConnection(pCNf->socket())); | ||||
| #endif | ||||
| #endif // POCO_ENABLE_CPP11 | ||||
| 				poco_check_ptr(pConnection.get()); | ||||
| 				beginConnection(); | ||||
| 				pConnection->start(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex Fabijanic
					Alex Fabijanic