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:
Paul Licameli 2020-06-04 23:45:28 -04:00
parent e861598f99
commit 278b40c50d
1 changed files with 2 additions and 2 deletions

View File

@ -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 }