From 0c92d1ed740d888392b00842b1819a5c0ed0a91b Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 6 Jul 2020 16:08:36 -0400 Subject: [PATCH] Better comments in WaveClip.* after commit 1276968 --- src/WaveClip.cpp | 2 +- src/WaveClip.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/WaveClip.cpp b/src/WaveClip.cpp index c231c19b3..c94d54c2b 100644 --- a/src/WaveClip.cpp +++ b/src/WaveClip.cpp @@ -138,7 +138,7 @@ WaveClip::WaveClip(const WaveClip& orig, bool copyCutlines) { // essentially a copy constructor - but you must pass in the - // current project, because we might be copying + // current sample block factory, because we might be copying // from one project to another mOffset = orig.mOffset; diff --git a/src/WaveClip.h b/src/WaveClip.h index b071399e9..3b4ca8796 100644 --- a/src/WaveClip.h +++ b/src/WaveClip.h @@ -173,7 +173,8 @@ public: class AUDACITY_DLL_API WaveClip final : public XMLTagHandler { private: - // It is an error to copy a WaveClip without specifying the project. + // It is an error to copy a WaveClip without specifying the + // sample block factory. WaveClip(const WaveClip&) PROHIBITED; WaveClip& operator= (const WaveClip&) PROHIBITED; @@ -184,7 +185,7 @@ public: int rate, int colourIndex); // essentially a copy constructor - but you must pass in the - // current project, because we might be copying + // current sample block factory, because we might be copying // from one project to another WaveClip(const WaveClip& orig, const SampleBlockFactoryPtr &factory,