1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Bug2442 residual: Review AudacityException classes...

... Have copy constructors only (no moves); disallow all assignments
This commit is contained in:
Paul Licameli
2020-06-05 13:43:10 -04:00
parent 13ec3300a9
commit 4a56af43aa
6 changed files with 18 additions and 50 deletions

View File

@@ -32,16 +32,6 @@ public:
, file{ that.file }
, line{ that.line }
{}
InconsistencyException &operator = (InconsistencyException &&that)
{
if (this != &that) {
MessageBoxException::operator= (std::move(that));
func = that.func;
file = that.file;
line = that.line;
}
return *this;
}
~InconsistencyException() override;