]> granicus.if.org Git - clang/commitdiff
Fix MSVC build.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 15 May 2011 05:10:24 +0000 (05:10 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 15 May 2011 05:10:24 +0000 (05:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131377 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTContext.cpp

index 2a0eac80fa493dfaf4b44e6379b55010f1ed28d7..2cbc949cf3476d4a86910e9f84131b692392796a 100644 (file)
@@ -4492,7 +4492,7 @@ void ASTContext::getObjCEncodingForStructureImpl(RecordDecl *RDecl,
   }
 
   uint64_t CurOffs = 0;
-  std::map<uint64_t, NamedDecl *>::iterator
+  std::multimap<uint64_t, NamedDecl *>::iterator
     CurLayObj = FieldOrBaseOffsets.begin();
 
   if (CurLayObj != FieldOrBaseOffsets.end() && CurLayObj->first != 0) {