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/cmTest.cxx | |
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/cmTest.cxx')
-rw-r--r-- | Source/cmTest.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmTest.cxx b/Source/cmTest.cxx index 4ff71ac..28a7bb1 100644 --- a/Source/cmTest.cxx +++ b/Source/cmTest.cxx @@ -38,12 +38,8 @@ cmListFileBacktrace const& cmTest::GetBacktrace() const } //---------------------------------------------------------------------------- -void cmTest::SetName(const char* name) +void cmTest::SetName(const std::string& name) { - if ( !name ) - { - name = ""; - } this->Name = name; } |