[Audacity-devel] Fixed data loss bug in CVS HEAD
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Dominic M. <do...@au...> - 2005-10-25 07:05:22
|
I tracked down and fixed the major data loss bug in CVS HEAD. It caused data files to end up in the wrong directory when copying between projects, or when doing a "Save As". This should be completely fixed now. In order to fix it, I had to get rid of the WaveClip and Sequence copy constructors. However, C++ always creates a default copy constructor. Is there any way I could make it a compile-time error to call the copy constructor? I created a private WaveClip copy constructor, and that helps - but I'd prefer to even make it a compile-time error (or at least warning) even if WaveClip itself tries to call its own copy constructor. Any neat C++ hack ideas? - Dominic |