1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 00:03:52 +02:00

Factory methods will return non-NULL or throw

This commit is contained in:
Paul Licameli
2017-03-31 15:00:16 -04:00
parent f1b354b141
commit 6b84dc1c1d
9 changed files with 70 additions and 81 deletions

View File

@@ -438,7 +438,8 @@ std::unique_ptr<Sequence> Sequence::Copy(sampleCount s0, sampleCount s1) const
}
if (! ConsistencyCheck(wxT("Sequence::Copy()")))
return {};
//THROW_INCONSISTENCY_EXCEPTION
;
return dest;
}