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/cmExecuteProcessCommand.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/cmExecuteProcessCommand.cxx')
-rw-r--r-- | Source/cmExecuteProcessCommand.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmExecuteProcessCommand.cxx b/Source/cmExecuteProcessCommand.cxx index 54cd7ed..2dfce3b 100644 --- a/Source/cmExecuteProcessCommand.cxx +++ b/Source/cmExecuteProcessCommand.cxx @@ -288,11 +288,11 @@ bool cmExecuteProcessCommand::InitialPass(std::vector<std::string> const& args) // Store the output obtained. if(!output_variable.empty()) { - m_Makefile->AddDefinition(output_variable.c_str(), &*tempOutput.begin()); + this->Makefile->AddDefinition(output_variable.c_str(), &*tempOutput.begin()); } if(!merge_output && !error_variable.empty()) { - m_Makefile->AddDefinition(error_variable.c_str(), &*tempError.begin()); + this->Makefile->AddDefinition(error_variable.c_str(), &*tempError.begin()); } // Store the result of running the process. @@ -305,19 +305,19 @@ bool cmExecuteProcessCommand::InitialPass(std::vector<std::string> const& args) int v = cmsysProcess_GetExitValue(cp); char buf[100]; sprintf(buf, "%d", v); - m_Makefile->AddDefinition(result_variable.c_str(), buf); + this->Makefile->AddDefinition(result_variable.c_str(), buf); } break; case cmsysProcess_State_Exception: - m_Makefile->AddDefinition(result_variable.c_str(), + this->Makefile->AddDefinition(result_variable.c_str(), cmsysProcess_GetExceptionString(cp)); break; case cmsysProcess_State_Error: - m_Makefile->AddDefinition(result_variable.c_str(), + this->Makefile->AddDefinition(result_variable.c_str(), cmsysProcess_GetErrorString(cp)); break; case cmsysProcess_State_Expired: - m_Makefile->AddDefinition(result_variable.c_str(), + this->Makefile->AddDefinition(result_variable.c_str(), "Process terminated due to timeout"); break; } |