summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableWatch.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-03-15 16:02:08 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-03-15 16:02:08 (GMT)
commit3d96e522617647665d7e99919ba71d34b1db870c (patch)
tree2ec6cf41cc61aad79b94cff9b2aa321f2c8b686e /Source/cmVariableWatch.cxx
parent609af5c969be6edf087498f983ccd7d3ac818a48 (diff)
downloadCMake-3d96e522617647665d7e99919ba71d34b1db870c.zip
CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.gz
CMake-3d96e522617647665d7e99919ba71d34b1db870c.tar.bz2
STYLE: some m_ to this-> cleanup
Diffstat (limited to 'Source/cmVariableWatch.cxx')
-rw-r--r--Source/cmVariableWatch.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/cmVariableWatch.cxx b/Source/cmVariableWatch.cxx
index b54ff87..d267a52 100644
--- a/Source/cmVariableWatch.cxx
+++ b/Source/cmVariableWatch.cxx
@@ -28,14 +28,14 @@ void cmVariableWatch::AddWatch(const std::string& variable,
WatchMethod method, void* client_data /*=0*/)
{
cmVariableWatch::Pair p;
- p.m_Method = method;
- p.m_ClientData = client_data;
- cmVariableWatch::VectorOfPairs* vp = &m_WatchMap[variable];
+ p.Method = method;
+ p.ClientData = client_data;
+ cmVariableWatch::VectorOfPairs* vp = &this->WatchMap[variable];
cmVariableWatch::VectorOfPairs::size_type cc;
for ( cc = 0; cc < vp->size(); cc ++ )
{
cmVariableWatch::Pair* pair = &(*vp)[cc];
- if ( pair->m_Method == method )
+ if ( pair->Method == method )
{
(*vp)[cc] = p;
return;
@@ -47,11 +47,11 @@ void cmVariableWatch::AddWatch(const std::string& variable,
void cmVariableWatch::RemoveWatch(const std::string& variable,
WatchMethod method)
{
- cmVariableWatch::VectorOfPairs* vp = &m_WatchMap[variable];
+ cmVariableWatch::VectorOfPairs* vp = &this->WatchMap[variable];
cmVariableWatch::VectorOfPairs::iterator it;
for ( it = vp->begin(); it != vp->end(); ++it )
{
- if ( it->m_Method == method )
+ if ( it->Method == method )
{
vp->erase(it);
return;
@@ -63,14 +63,14 @@ void cmVariableWatch::VariableAccessed(const std::string& variable,
int access_type) const
{
cmVariableWatch::StringToVectorOfPairs::const_iterator mit =
- m_WatchMap.find(variable);
- if ( mit != m_WatchMap.end() )
+ this->WatchMap.find(variable);
+ if ( mit != this->WatchMap.end() )
{
const cmVariableWatch::VectorOfPairs* vp = &mit->second;
cmVariableWatch::VectorOfPairs::const_iterator it;
for ( it = vp->begin(); it != vp->end(); it ++ )
{
- it->m_Method(variable, access_type, it->m_ClientData);
+ it->Method(variable, access_type, it->ClientData);
}
}
}