summaryrefslogtreecommitdiffstats
path: root/Source/cmTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTest.h')
-rw-r--r--Source/cmTest.h6
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;
}