]> git.saurik.com Git - apple/security.git/blobdiff - AppleX509CL/LockedMap.h
Security-177.tar.gz
[apple/security.git] / AppleX509CL / LockedMap.h
index 2a7a1c06f14efb2874065ff4eb1b0541b9588adb..8388c40d29040b294f293ede4c30c8e3a8321710 100644 (file)
@@ -42,7 +42,7 @@ private:
        *lookupEntryLocked(KeyType key) 
                {
                        // don't create new entry if desired entry isn't there
-                       MapType::iterator it = mMap.find(key);
+                       typename MapType::iterator it = mMap.find(key);
                        if(it == mMap.end()) {
                                return NULL;
                        }
@@ -80,7 +80,7 @@ public:
        *removeFirstEntry()
                {
                        StLock<Mutex> _(mMapLock);
-                       MapType::iterator it = mMap.begin();
+                       typename MapType::iterator it = mMap.begin();
                        if(it == mMap.end()) {
                                return NULL;
                        }