summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-08-24 13:43:35 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-27 19:48:57 (GMT)
commit50fbfee3a02e7099a3909d81597f4b8047847ece (patch)
treec8f6053448e3428b1d9f32c0c1141c41cd1d9f59 /Source/cmLocalGenerator.h
parente33c6c357b61ed0cc5b9f7c01e4ea04deca26b39 (diff)
downloadCMake-50fbfee3a02e7099a3909d81597f4b8047847ece.zip
CMake-50fbfee3a02e7099a3909d81597f4b8047847ece.tar.gz
CMake-50fbfee3a02e7099a3909d81597f4b8047847ece.tar.bz2
cmLocalGenerator: return directories as const std::string&
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 52f0396..e7b3ee6 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -296,8 +296,8 @@ public:
std::string const& GetSourceDirectory() const;
std::string const& GetBinaryDirectory() const;
- const char* GetCurrentBinaryDirectory() const;
- const char* GetCurrentSourceDirectory() const;
+ std::string const& GetCurrentBinaryDirectory() const;
+ std::string const& GetCurrentSourceDirectory() const;
/**
* Generate a Mac OS X application bundle Info.plist file.