diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-03-15 16:02:08 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-03-15 16:02:08 (GMT) |
commit | 3d96e522617647665d7e99919ba71d34b1db870c (patch) | |
tree | 2ec6cf41cc61aad79b94cff9b2aa321f2c8b686e /Source/cmTest.cxx | |
parent | 609af5c969be6edf087498f983ccd7d3ac818a48 (diff) | |
download | CMake-3d96e522617647665d7e99919ba71d34b1db870c.zip CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.gz CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.bz2 |
STYLE: some m_ to this-> cleanup
Diffstat (limited to 'Source/cmTest.cxx')
-rw-r--r-- | Source/cmTest.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmTest.cxx b/Source/cmTest.cxx index ccef841..affff8a 100644 --- a/Source/cmTest.cxx +++ b/Source/cmTest.cxx @@ -32,7 +32,7 @@ void cmTest::SetName(const char* name) { name = ""; } - m_Name = name; + this->Name = name; } void cmTest::SetCommand(const char* command) @@ -41,19 +41,19 @@ void cmTest::SetCommand(const char* command) { command = ""; } - m_Command = command; + this->Command = command; } void cmTest::SetArguments(const std::vector<cmStdString>& args) { - m_Args = args; + this->Args = args; } const char *cmTest::GetProperty(const char* prop) const { std::map<cmStdString,cmStdString>::const_iterator i = - m_Properties.find(prop); - if (i != m_Properties.end()) + this->Properties.find(prop); + if (i != this->Properties.end()) { return i->second.c_str(); } @@ -63,8 +63,8 @@ const char *cmTest::GetProperty(const char* prop) const bool cmTest::GetPropertyAsBool(const char* prop) const { std::map<cmStdString,cmStdString>::const_iterator i = - m_Properties.find(prop); - if (i != m_Properties.end()) + this->Properties.find(prop); + if (i != this->Properties.end()) { return cmSystemTools::IsOn(i->second.c_str()); } @@ -81,6 +81,6 @@ void cmTest::SetProperty(const char* prop, const char* value) { value = "NOTFOUND"; } - m_Properties[prop] = value; + this->Properties[prop] = value; } |