From f0d1e1626d52cd9c7f54e9c61d4f4dbab0e7b7a7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 1 Aug 2007 10:53:28 -0400 Subject: [PATCH] COMP: Fix warning about not being able to automatically generate a copy constructor. --- Source/cmGeneratedFileStream.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h index 9a34645f5..9d718e181 100644 --- a/Source/cmGeneratedFileStream.h +++ b/Source/cmGeneratedFileStream.h @@ -145,6 +145,9 @@ public: * the output file to be changed during the use of cmGeneratedFileStream. */ void SetName(const char* fname); + +private: + cmGeneratedFileStream(cmGeneratedFileStream const&); // not implemented }; #if defined(__sgi) && !defined(__GNUC__)