summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-03 13:57:41 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-03 13:57:41 (GMT)
commit62145a5811f0ba8f65dddd16064f6e9d3e736af3 (patch)
tree486121a3dfafe1d6105f9fed2f97c79817086f70 /Source/cmCTest.h
parent6b8bb7d7fa4ace80d12f09a988b628a9d9f42105 (diff)
downloadCMake-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.h2
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; }