Nope, there's another one!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2011-09-19 20:23:01 +00:00
parent 49ca96d7c2
commit bcc1a737f5

View File

@ -368,7 +368,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
Functions.push_back(f);
mi->second = &Functions.back();
for (unsigned i = 0, e = Calls.size(); i != e; ++i)
if (FunctionMap.insert(std::pair<uint64_t, MCFunction*>(Calls[i],0))
if (FunctionMap.insert(std::make_pair(Calls[i], (MCFunction*)0))
.second)
mi = FunctionMap.begin();
}