瀏覽代碼

COMP: Fix warning about not being able to automatically generate a copy constructor.

Brad King 18 年之前
父節點
當前提交
f0d1e1626d
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Source/cmGeneratedFileStream.h

+ 3 - 0
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__)