[API Notes] Use std::make_tuple to unbreak libstdc++ build.
(cherry picked from commit b4f0490f10b156be5e5c1cfc5b08c8153a1698b9)
diff --git a/lib/APINotes/APINotesWriter.cpp b/lib/APINotes/APINotesWriter.cpp
index 0e0bfaf..b0a4650 100644
--- a/lib/APINotes/APINotesWriter.cpp
+++ b/lib/APINotes/APINotesWriter.cpp
@@ -1066,8 +1066,8 @@
bool isInstance,
const ObjCPropertyInfo &info) {
IdentifierID nameID = Impl.getIdentifier(name);
- assert(!Impl.ObjCProperties.count({contextID.Value, nameID, isInstance}));
- Impl.ObjCProperties[{contextID.Value, nameID, isInstance}] = info;
+ assert(!Impl.ObjCProperties.count(std::make_tuple(contextID.Value, nameID, isInstance)));
+ Impl.ObjCProperties[std::make_tuple(contextID.Value, nameID, isInstance)] = info;
}
void APINotesWriter::addObjCMethod(ContextID contextID,