summaryrefslogtreecommitdiffstats
path: root/Source/cmWorkingDirectory.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWorkingDirectory.h')
-rw-r--r--Source/cmWorkingDirectory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmWorkingDirectory.h b/Source/cmWorkingDirectory.h
index d4a164d..4c7576d 100644
--- a/Source/cmWorkingDirectory.h
+++ b/Source/cmWorkingDirectory.h
@@ -37,6 +37,8 @@ public:
*/
int GetLastResult() const { return ResultCode; }
+ std::string const& GetOldDirectory() const { return this->OldDir; }
+
private:
std::string OldDir;
int ResultCode;