summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Directory.hxx.in
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-06 16:57:05 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-06 16:57:05 (GMT)
commite34d666fc713c6853496c2bcaaff5786353f1e22 (patch)
tree40da49d87d377a7d85629bd0374066f1b36252a7 /Source/kwsys/Directory.hxx.in
parent70e6fe3f9b4db9a18bf5cc063893a1b838be17be (diff)
downloadCMake-e34d666fc713c6853496c2bcaaff5786353f1e22.zip
CMake-e34d666fc713c6853496c2bcaaff5786353f1e22.tar.gz
CMake-e34d666fc713c6853496c2bcaaff5786353f1e22.tar.bz2
BUG: Need to reset internal structure in case of multiple calls to Load
Diffstat (limited to 'Source/kwsys/Directory.hxx.in')
-rw-r--r--Source/kwsys/Directory.hxx.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/kwsys/Directory.hxx.in b/Source/kwsys/Directory.hxx.in
index 0a927a4..64d4184 100644
--- a/Source/kwsys/Directory.hxx.in
+++ b/Source/kwsys/Directory.hxx.in
@@ -57,6 +57,13 @@ public:
*/
const char* GetPath() const;
+protected:
+ /**
+ * Clear the internal structure. Used internally at beginning of Load(...) to clear
+ * the cache.
+ */
+ void Clear();
+
private:
// Private implementation details.
DirectoryInternals* Internal;