diff options
author | Brad King <brad.king@kitware.com> | 2008-02-03 13:57:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-03 13:57:41 (GMT) |
commit | 62145a5811f0ba8f65dddd16064f6e9d3e736af3 (patch) | |
tree | 486121a3dfafe1d6105f9fed2f97c79817086f70 /Source/cmCTest.h | |
parent | 6b8bb7d7fa4ace80d12f09a988b628a9d9f42105 (diff) | |
download | CMake-62145a5811f0ba8f65dddd16064f6e9d3e736af3.zip CMake-62145a5811f0ba8f65dddd16064f6e9d3e736af3.tar.gz CMake-62145a5811f0ba8f65dddd16064f6e9d3e736af3.tar.bz2 |
BUG: cmCTest::GetConfigType should return the string by reference-to-const so that callers may use .c_str() safely.
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 2a1169a..7dfaa92 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -92,7 +92,7 @@ public: int TestDirectory(bool memcheck); ///! what is the configuraiton type, e.g. Debug, Release etc. - std::string GetConfigType(); + std::string const& GetConfigType(); double GetTimeOut() { return this->TimeOut; } void SetTimeOut(double t) { this->TimeOut = t; } |