From 964719128cdce8b37c765068a512d7491e78fb6a Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Thu, 16 Aug 2007 07:38:47 -0400 Subject: COMP: Directory and Glob have pointer data members --- Source/kwsys/Directory.hxx.in | 3 +++ Source/kwsys/Glob.hxx.in | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Source/kwsys/Directory.hxx.in b/Source/kwsys/Directory.hxx.in index ddb9104..e48757e 100644 --- a/Source/kwsys/Directory.hxx.in +++ b/Source/kwsys/Directory.hxx.in @@ -72,6 +72,9 @@ public: private: // Private implementation details. DirectoryInternals* Internal; + + Directory(const Directory&); // Not implemented. + void operator=(const Directory&); // Not implemented. }; // End Class: Directory } // namespace @KWSYS_NAMESPACE@ diff --git a/Source/kwsys/Glob.hxx.in b/Source/kwsys/Glob.hxx.in index ad9961d..7e2fb96 100644 --- a/Source/kwsys/Glob.hxx.in +++ b/Source/kwsys/Glob.hxx.in @@ -90,6 +90,10 @@ protected: GlobInternals* Internals; bool Recurse; kwsys_stl::string Relative; + +private: + Glob(const Glob&); // Not implemented. + void operator=(const Glob&); // Not implemented. }; } // namespace @KWSYS_NAMESPACE@ -- cgit v0.12