summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2007-08-16 11:38:47 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2007-08-16 11:38:47 (GMT)
commit964719128cdce8b37c765068a512d7491e78fb6a (patch)
tree387c6d3d6010c0f02ee3220369dc38726f6ddf94 /Source
parentf9cbfbb458f6184cadb4fd5c3634c576b37f6c3d (diff)
downloadCMake-964719128cdce8b37c765068a512d7491e78fb6a.zip
CMake-964719128cdce8b37c765068a512d7491e78fb6a.tar.gz
CMake-964719128cdce8b37c765068a512d7491e78fb6a.tar.bz2
COMP: Directory and Glob have pointer data members
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/Directory.hxx.in3
-rw-r--r--Source/kwsys/Glob.hxx.in4
2 files changed, 7 insertions, 0 deletions
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@