summaryrefslogtreecommitdiff
path: root/Source/cmDynamicLoader.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-03-15 11:02:08 -0500
committerKen Martin <ken.martin@kitware.com>2006-03-15 11:02:08 -0500
commit3d96e522617647665d7e99919ba71d34b1db870c (patch)
tree2ec6cf41cc61aad79b94cff9b2aa321f2c8b686e /Source/cmDynamicLoader.cxx
parent609af5c969be6edf087498f983ccd7d3ac818a48 (diff)
downloadcmake-3d96e522617647665d7e99919ba71d34b1db870c.tar.gz
STYLE: some m_ to this-> cleanup
Diffstat (limited to 'Source/cmDynamicLoader.cxx')
-rw-r--r--Source/cmDynamicLoader.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/cmDynamicLoader.cxx b/Source/cmDynamicLoader.cxx
index 8c80188421..1a050607c2 100644
--- a/Source/cmDynamicLoader.cxx
+++ b/Source/cmDynamicLoader.cxx
@@ -36,7 +36,7 @@ public:
static cmDynamicLoaderCache* GetInstance();
private:
- std::map<cmStdString, cmLibHandle> m_CacheMap;
+ std::map<cmStdString, cmLibHandle> CacheMap;
static cmDynamicLoaderCache* Instance;
};
@@ -53,13 +53,13 @@ void cmDynamicLoaderCache::CacheFile(const char* path, const cmLibHandle& p)
{
this->FlushCache(path);
}
- this->m_CacheMap[path] = p;
+ this->CacheMap[path] = p;
}
bool cmDynamicLoaderCache::GetCacheFile(const char* path, cmLibHandle& p)
{
- std::map<cmStdString, cmLibHandle>::iterator it = m_CacheMap.find(path);
- if ( it != m_CacheMap.end() )
+ std::map<cmStdString, cmLibHandle>::iterator it = this->CacheMap.find(path);
+ if ( it != this->CacheMap.end() )
{
p = it->second;
return true;
@@ -69,12 +69,12 @@ bool cmDynamicLoaderCache::GetCacheFile(const char* path, cmLibHandle& p)
bool cmDynamicLoaderCache::FlushCache(const char* path)
{
- std::map<cmStdString, cmLibHandle>::iterator it = m_CacheMap.find(path);
+ std::map<cmStdString, cmLibHandle>::iterator it = this->CacheMap.find(path);
bool ret = false;
- if ( it != m_CacheMap.end() )
+ if ( it != this->CacheMap.end() )
{
cmDynamicLoader::CloseLibrary(it->second);
- m_CacheMap.erase(it);
+ this->CacheMap.erase(it);
ret = true;
}
return ret;
@@ -82,8 +82,8 @@ bool cmDynamicLoaderCache::FlushCache(const char* path)
void cmDynamicLoaderCache::FlushCache()
{
- for ( std::map<cmStdString, cmLibHandle>::iterator it = m_CacheMap.begin();
- it != m_CacheMap.end(); it++ )
+ for ( std::map<cmStdString, cmLibHandle>::iterator it = this->CacheMap.begin();
+ it != this->CacheMap.end(); it++ )
{
cmDynamicLoader::CloseLibrary(it->second);
}