Tweak
This commit is contained in:
		
							parent
							
								
									f12d56b27b
								
							
						
					
					
						commit
						beaefdf706
					
				
					 3 changed files with 5 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -98,11 +98,7 @@ struct CurlDownloader : public Downloader
 | 
			
		|||
        {
 | 
			
		||||
            assert(!done);
 | 
			
		||||
            done = true;
 | 
			
		||||
            try {
 | 
			
		||||
                throw e;
 | 
			
		||||
            } catch (...) {
 | 
			
		||||
                callFailure(failure);
 | 
			
		||||
            }
 | 
			
		||||
            callFailure(failure, std::make_exception_ptr(e));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        size_t writeCallback(void * contents, size_t size, size_t nmemb)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue