summaryrefslogtreecommitdiffstats
path: root/Source/cmTest.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-04 02:20:33 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:30 (GMT)
commit83a5e453f8c0dc0fc9b6bdee9723478aafefd0da (patch)
tree787734e3c75d2a75cafbb054195473c24582e03e /Source/cmTest.h
parentb26c70cc9a59de5b8ece8b00b67d571aaf6ee8f0 (diff)
downloadCMake-83a5e453f8c0dc0fc9b6bdee9723478aafefd0da.zip
CMake-83a5e453f8c0dc0fc9b6bdee9723478aafefd0da.tar.gz
CMake-83a5e453f8c0dc0fc9b6bdee9723478aafefd0da.tar.bz2
stringapi: Use strings for test names
Diffstat (limited to 'Source/cmTest.h')
-rw-r--r--Source/cmTest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTest.h b/Source/cmTest.h
index 1becbf7..a5795c3 100644
--- a/Source/cmTest.h
+++ b/Source/cmTest.h
@@ -31,8 +31,8 @@ public:
~cmTest();
///! Set the test name
- void SetName(const char* name);
- const char* GetName() const { return this->Name.c_str(); }
+ void SetName(const std::string& name);
+ std::string GetName() const { return this->Name; }
void SetCommand(std::vector<std::string> const& command);
std::vector<std::string> const& GetCommand() const