diff options
author | Brad King <brad.king@kitware.com> | 2020-04-03 13:46:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-03 13:55:49 (GMT) |
commit | 56cccde235cbe24df7c108fd475fddfd84869d93 (patch) | |
tree | 9386034a759597fd084951c03987ba354c3bf173 /Source/cmWorkingDirectory.h | |
parent | 753817e71d6c3798fe2d85ac21c93d25a86f59b9 (diff) | |
download | CMake-56cccde235cbe24df7c108fd475fddfd84869d93.zip CMake-56cccde235cbe24df7c108fd475fddfd84869d93.tar.gz CMake-56cccde235cbe24df7c108fd475fddfd84869d93.tar.bz2 |
cmWorkingDirectory: Add GetOldDirectory method
Diffstat (limited to 'Source/cmWorkingDirectory.h')
-rw-r--r-- | Source/cmWorkingDirectory.h | 2 |
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; |