diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-03-20 01:24:12 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-03-20 01:24:12 +0000 |
commit | 538de80a91da74598ba2449fbbec6de37376a4ce (patch) | |
tree | f85b3bed971083e90e5f3dbb84539ea4ba0359e9 /factory.h | |
parent | 21955e23ec9697d1cd47ff91f91b08af382b8a6d (diff) | |
download | cryptopp-git-538de80a91da74598ba2449fbbec6de37376a4ce.tar.gz |
various changes for 5.1
Diffstat (limited to 'factory.h')
-rw-r--r-- | factory.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ class ObjectFactoryRegistry public: ~ObjectFactoryRegistry() { - for (Map::iterator i = m_map.begin(); i != m_map.end(); ++i) + for (CPP_TYPENAME Map::iterator i = m_map.begin(); i != m_map.end(); ++i) { delete i->second; i->second = NULL; @@ -44,7 +44,7 @@ public: const ObjectFactory<AbstractClass> * GetFactory(const char *name) const { - Map::const_iterator i = m_map.find(name); + CPP_TYPENAME Map::const_iterator i = m_map.find(name); return i == m_map.end() ? NULL : i->second; } |