mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-11-03 23:53:55 +01:00 
			
		
		
		
	Bug2442: Windows crash when import exhausts disk space...
... Fixed by changing a move constructor to a copy constructor for the exception object. Not sure why that should be needed, according to the C++ standard, but so it is with the MSVC compiler.
This commit is contained in:
		@@ -25,8 +25,8 @@ public:
 | 
			
		||||
   , cause{ cause_ }, fileName{ fileName_ }, renameTarget{ renameTarget_ }
 | 
			
		||||
   {}
 | 
			
		||||
 | 
			
		||||
   FileException(FileException&& that)
 | 
			
		||||
      : MessageBoxException(std::move(that))
 | 
			
		||||
   FileException( const FileException &that )
 | 
			
		||||
      : MessageBoxException( that )
 | 
			
		||||
      , cause{ that.cause }
 | 
			
		||||
      , fileName{ that.fileName }
 | 
			
		||||
      , renameTarget{ that.renameTarget }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user