diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-31 15:51:42 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-31 15:51:42 (GMT) |
commit | bebc745824920465c9df5fee9baf9b6f8a35d34f (patch) | |
tree | 958f9a784bd1aa1960fcd318d6123b5c928a0dc0 /Source/cmTest.h | |
parent | ec3f3b5a2db2c0d60fe2dbe31b21cf937fc8264e (diff) | |
download | CMake-bebc745824920465c9df5fee9baf9b6f8a35d34f.zip CMake-bebc745824920465c9df5fee9baf9b6f8a35d34f.tar.gz CMake-bebc745824920465c9df5fee9baf9b6f8a35d34f.tar.bz2 |
ENH: Add set and get test propety command
Diffstat (limited to 'Source/cmTest.h')
-rw-r--r-- | Source/cmTest.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTest.h b/Source/cmTest.h index e5dd1ed..506b276 100644 --- a/Source/cmTest.h +++ b/Source/cmTest.h @@ -34,11 +34,11 @@ public: ///! Set the test name void SetName(const char* name); - const char* GetName() { return m_Name.c_str(); } + const char* GetName() const { return m_Name.c_str(); } void SetCommand(const char* command); - const char* GetCommand() { return m_Command.c_str(); } + const char* GetCommand() const { return m_Command.c_str(); } void SetArguments(const std::vector<cmStdString>& args); - std::vector<cmStdString>& GetArguments() + const std::vector<cmStdString>& GetArguments() const { return m_Args; } |