mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +01:00
Fix move constructors and assignments of AudacityException classes
This commit is contained in:
@@ -23,6 +23,6 @@ wxString NotYetAvailableException::ErrorMessage() const
|
||||
{
|
||||
return wxString::Format(
|
||||
_("This operation cannot be done until importation of %s completes."),
|
||||
mFileName.GetFullName()
|
||||
fileName.GetFullName()
|
||||
);
|
||||
}
|
||||
|
||||
@@ -21,14 +21,12 @@ public:
|
||||
: FileException{ Cause::Read, fileName } {}
|
||||
NotYetAvailableException(NotYetAvailableException &&that)
|
||||
: FileException( std::move( that ) ) {}
|
||||
NotYetAvailableException& operator= (NotYetAvailableException&&) PROHIBITED;
|
||||
~NotYetAvailableException();
|
||||
|
||||
protected:
|
||||
std::unique_ptr< AudacityException > Move() override;
|
||||
wxString ErrorMessage() const override;
|
||||
|
||||
private:
|
||||
wxFileName mFileName;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user