diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-04 02:20:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:30 (GMT) |
commit | 83a5e453f8c0dc0fc9b6bdee9723478aafefd0da (patch) | |
tree | 787734e3c75d2a75cafbb054195473c24582e03e /Source/cmMakefile.h | |
parent | b26c70cc9a59de5b8ece8b00b67d571aaf6ee8f0 (diff) | |
download | CMake-83a5e453f8c0dc0fc9b6bdee9723478aafefd0da.zip CMake-83a5e453f8c0dc0fc9b6bdee9723478aafefd0da.tar.gz CMake-83a5e453f8c0dc0fc9b6bdee9723478aafefd0da.tar.bz2 |
stringapi: Use strings for test names
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index a8ad1e2..044324e 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -782,12 +782,12 @@ public: void AddMacro(const char* name, const char* signature); ///! Add a new cmTest to the list of tests for this makefile. - cmTest* CreateTest(const char* testName); + cmTest* CreateTest(const std::string& testName); /** Get a cmTest pointer for a given test name, if the name is * not found, then a null pointer is returned. */ - cmTest* GetTest(const char* testName) const; + cmTest* GetTest(const std::string& testName) const; /** * Get a list of macros as a ; separated string |