summaryrefslogtreecommitdiff
path: root/Source/cmDynamicLoader.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-29 16:07:07 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-29 16:07:07 -0400
commit5bf55d1590d2e92180b51c82b397cac8dd4c6d64 (patch)
treea17c7406d52ff3dd518554e1455d4997b0338047 /Source/cmDynamicLoader.cxx
parent64a6ad497523b68efe127b27ad2a7fdbe73cbfbc (diff)
downloadcmake-5bf55d1590d2e92180b51c82b397cac8dd4c6d64.tar.gz
ENH: shorten the symbols a bit and remove maps of std::string for map of cmStdString
Diffstat (limited to 'Source/cmDynamicLoader.cxx')
-rw-r--r--Source/cmDynamicLoader.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmDynamicLoader.cxx b/Source/cmDynamicLoader.cxx
index 638a04376f..469401c10b 100644
--- a/Source/cmDynamicLoader.cxx
+++ b/Source/cmDynamicLoader.cxx
@@ -36,7 +36,7 @@ public:
static cmDynamicLoaderCache* GetInstance();
private:
- std::map<std::string, cmLibHandle> m_CacheMap;
+ std::map<cmStdString, cmLibHandle> m_CacheMap;
static cmDynamicLoaderCache* Instance;
};
@@ -58,7 +58,7 @@ void cmDynamicLoaderCache::CacheFile(const char* path, const cmLibHandle& p)
bool cmDynamicLoaderCache::GetCacheFile(const char* path, cmLibHandle& p)
{
- std::map<std::string, cmLibHandle>::iterator it = m_CacheMap.find(path);
+ std::map<cmStdString, cmLibHandle>::iterator it = m_CacheMap.find(path);
if ( it != m_CacheMap.end() )
{
p = it->second;
@@ -69,7 +69,7 @@ bool cmDynamicLoaderCache::GetCacheFile(const char* path, cmLibHandle& p)
bool cmDynamicLoaderCache::FlushCache(const char* path)
{
- std::map<std::string, cmLibHandle>::iterator it = m_CacheMap.find(path);
+ std::map<cmStdString, cmLibHandle>::iterator it = m_CacheMap.find(path);
bool ret = false;
if ( it != m_CacheMap.end() )
{
@@ -82,7 +82,7 @@ bool cmDynamicLoaderCache::FlushCache(const char* path)
void cmDynamicLoaderCache::FlushCache()
{
- for ( std::map<std::string, cmLibHandle>::iterator it = m_CacheMap.begin();
+ for ( std::map<cmStdString, cmLibHandle>::iterator it = m_CacheMap.begin();
it != m_CacheMap.end(); it++ )
{
cmDynamicLoader::CloseLibrary(it->second);